Skip navigation links
A C E F G H L R T X 

A

Ansi16 - Class in com.github.ajalt.colormath
 
Ansi16(code) - Constructor for class com.github.ajalt.colormath.Ansi16
 
Ansi16.Companion - Class in com.github.ajalt.colormath
 
Ansi256 - Class in com.github.ajalt.colormath
 
Ansi256(code) - Constructor for class com.github.ajalt.colormath.Ansi256
 

C

CMYK - Class in com.github.ajalt.colormath
 
CMYK(c, m, y, k) - Constructor for class com.github.ajalt.colormath.CMYK
 
com.github.ajalt.colormath - package com.github.ajalt.colormath
 
Companion - Static variable in class com.github.ajalt.colormath.Ansi16
 
Companion - Static variable in class com.github.ajalt.colormath.RGB
 
component1() - Method in class com.github.ajalt.colormath.Ansi16
 
component1() - Method in class com.github.ajalt.colormath.Ansi256
 
component1() - Method in class com.github.ajalt.colormath.CMYK
 
component1() - Method in class com.github.ajalt.colormath.HSL
 
component1() - Method in class com.github.ajalt.colormath.HSV
 
component1() - Method in class com.github.ajalt.colormath.LAB
 
component1() - Method in class com.github.ajalt.colormath.RGB
 
component1() - Method in class com.github.ajalt.colormath.XYZ
 
component2() - Method in class com.github.ajalt.colormath.CMYK
 
component2() - Method in class com.github.ajalt.colormath.HSL
 
component2() - Method in class com.github.ajalt.colormath.HSV
 
component2() - Method in class com.github.ajalt.colormath.LAB
 
component2() - Method in class com.github.ajalt.colormath.RGB
 
component2() - Method in class com.github.ajalt.colormath.XYZ
 
component3() - Method in class com.github.ajalt.colormath.CMYK
 
component3() - Method in class com.github.ajalt.colormath.HSL
 
component3() - Method in class com.github.ajalt.colormath.HSV
 
component3() - Method in class com.github.ajalt.colormath.LAB
 
component3() - Method in class com.github.ajalt.colormath.RGB
 
component3() - Method in class com.github.ajalt.colormath.XYZ
 
component4() - Method in class com.github.ajalt.colormath.CMYK
 
ConvertibleColor - Interface in com.github.ajalt.colormath
A color that can be converted to other representations.
ConvertibleColor.DefaultImpls - Class in com.github.ajalt.colormath
A color that can be converted to other representations.
copy(code) - Method in class com.github.ajalt.colormath.Ansi16
 
copy(code) - Method in class com.github.ajalt.colormath.Ansi256
 
copy(c, m, y, k) - Method in class com.github.ajalt.colormath.CMYK
 
copy(h, s, l) - Method in class com.github.ajalt.colormath.HSL
 
copy(h, s, v) - Method in class com.github.ajalt.colormath.HSV
 
copy(l, a, b) - Method in class com.github.ajalt.colormath.LAB
CIE LAB color space.
copy(r, g, b) - Method in class com.github.ajalt.colormath.RGB
 
copy(x, y, z) - Method in class com.github.ajalt.colormath.XYZ
CIE XYZ color space.

E

equals(p) - Method in class com.github.ajalt.colormath.Ansi16
 
equals(p) - Method in class com.github.ajalt.colormath.Ansi256
 
equals(p) - Method in class com.github.ajalt.colormath.CMYK
 
equals(p) - Method in class com.github.ajalt.colormath.HSL
 
equals(p) - Method in class com.github.ajalt.colormath.HSV
 
equals(p) - Method in class com.github.ajalt.colormath.LAB
 
equals(p) - Method in class com.github.ajalt.colormath.RGB
 
equals(p) - Method in class com.github.ajalt.colormath.XYZ
 
ExtensionsKt - Class in com.github.ajalt.colormath
 

F

fromInt(argb) - Method in class com.github.ajalt.colormath.RGB.Companion
Create an class RGB instance from a packed (a)rgb integer, such as Android color ints or those returned from AWT's BufferedImage.getRGB.

G

getA() - Method in class com.github.ajalt.colormath.LAB
 
getB() - Method in class com.github.ajalt.colormath.LAB
 
getB() - Method in class com.github.ajalt.colormath.RGB
 
getBlack() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBlue() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBrightBlack() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBrightBlue() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBrightCyan() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBrightGreen() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBrightPurple() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBrightRed() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBrightWhite() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getBrightYellow() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getC() - Method in class com.github.ajalt.colormath.CMYK
 
getCode() - Method in class com.github.ajalt.colormath.Ansi16
 
getCode() - Method in class com.github.ajalt.colormath.Ansi256
 
getCyan() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getG() - Method in class com.github.ajalt.colormath.RGB
 
getGreen() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getH() - Method in class com.github.ajalt.colormath.HSL
 
getH() - Method in class com.github.ajalt.colormath.HSV
 
getK() - Method in class com.github.ajalt.colormath.CMYK
 
getL() - Method in class com.github.ajalt.colormath.HSL
 
getL() - Method in class com.github.ajalt.colormath.LAB
 
getM() - Method in class com.github.ajalt.colormath.CMYK
 
getPurple() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getR() - Method in class com.github.ajalt.colormath.RGB
 
getRed() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getS() - Method in class com.github.ajalt.colormath.HSL
 
getS() - Method in class com.github.ajalt.colormath.HSV
 
getV() - Method in class com.github.ajalt.colormath.HSV
 
getWhite() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getX() - Method in class com.github.ajalt.colormath.XYZ
 
getY() - Method in class com.github.ajalt.colormath.CMYK
 
getY() - Method in class com.github.ajalt.colormath.XYZ
 
getYellow() - Method in class com.github.ajalt.colormath.Ansi16.Companion
 
getZ() - Method in class com.github.ajalt.colormath.XYZ
 

H

hashCode() - Method in class com.github.ajalt.colormath.Ansi16
 
hashCode() - Method in class com.github.ajalt.colormath.Ansi256
 
hashCode() - Method in class com.github.ajalt.colormath.CMYK
 
hashCode() - Method in class com.github.ajalt.colormath.HSL
 
hashCode() - Method in class com.github.ajalt.colormath.HSV
 
hashCode() - Method in class com.github.ajalt.colormath.LAB
 
hashCode() - Method in class com.github.ajalt.colormath.RGB
 
hashCode() - Method in class com.github.ajalt.colormath.XYZ
 
HSL - Class in com.github.ajalt.colormath
 
HSL(h, s, l) - Constructor for class com.github.ajalt.colormath.HSL
 
HSV - Class in com.github.ajalt.colormath
 
HSV(h, s, v) - Constructor for class com.github.ajalt.colormath.HSV
 

L

LAB - Class in com.github.ajalt.colormath
CIE LAB color space.
LAB(l, a, b) - Constructor for class com.github.ajalt.colormath.LAB
CIE LAB color space.

R

RGB - Class in com.github.ajalt.colormath
 
RGB(r, g, b) - Constructor for class com.github.ajalt.colormath.RGB
 
RGB(hex) - Constructor for class com.github.ajalt.colormath.RGB
Construct an RGB instance from a hex string.
RGB(r, g, b) - Constructor for class com.github.ajalt.colormath.RGB
Construct an RGB instance from Byte values.
RGB.Companion - Class in com.github.ajalt.colormath
 
RGBKt - Class in com.github.ajalt.colormath
 

T

toAnsi16() - Method in class com.github.ajalt.colormath.Ansi16
Convert this color to a 16-color ANSI code
toAnsi16() - Method in class com.github.ajalt.colormath.Ansi256
Convert this color to a 16-color ANSI code
toAnsi16($this) - Static method in class com.github.ajalt.colormath.ConvertibleColor.DefaultImpls
Convert this color to a 16-color ANSI code
toAnsi16() - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to a 16-color ANSI code
toAnsi16() - Method in class com.github.ajalt.colormath.RGB
Convert this color to a 16-color ANSI code
toAnsi256() - Method in class com.github.ajalt.colormath.Ansi16
Convert this color to a 256-color ANSI code
toAnsi256() - Method in class com.github.ajalt.colormath.Ansi256
Convert this color to a 256-color ANSI code
toAnsi256($this) - Static method in class com.github.ajalt.colormath.ConvertibleColor.DefaultImpls
Convert this color to a 256-color ANSI code
toAnsi256() - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to a 256-color ANSI code
toAnsi256() - Method in class com.github.ajalt.colormath.RGB
Convert this color to a 256-color ANSI code
toCMYK() - Method in class com.github.ajalt.colormath.CMYK
Convert this color to Cyan-Magenta-Yellow-Key
toCMYK($this) - Static method in class com.github.ajalt.colormath.ConvertibleColor.DefaultImpls
Convert this color to Cyan-Magenta-Yellow-Key
toCMYK() - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to Cyan-Magenta-Yellow-Key
toCMYK() - Method in class com.github.ajalt.colormath.RGB
Convert this color to Cyan-Magenta-Yellow-Key
toHex($this, withNumberSign) - Static method in class com.github.ajalt.colormath.ConvertibleColor.DefaultImpls
Convert this color to an RGB hex string.
toHex(withNumberSign) - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to an RGB hex string.
toHex(withNumberSign) - Method in class com.github.ajalt.colormath.RGB
Return this value as a hex string
toHSL($this) - Static method in class com.github.ajalt.colormath.ConvertibleColor.DefaultImpls
Convert this color to Hue-Saturation-Luminosity
toHSL() - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to Hue-Saturation-Luminosity
toHSL() - Method in class com.github.ajalt.colormath.HSL
Convert this color to Hue-Saturation-Luminosity
toHSL() - Method in class com.github.ajalt.colormath.HSV
Convert this color to Hue-Saturation-Luminosity
toHSL() - Method in class com.github.ajalt.colormath.RGB
Convert this color to Hue-Saturation-Luminosity
toHSV($this) - Static method in class com.github.ajalt.colormath.ConvertibleColor.DefaultImpls
Convert this color to Hue-Saturation-Value
toHSV() - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to Hue-Saturation-Value
toHSV() - Method in class com.github.ajalt.colormath.HSL
Convert this color to Hue-Saturation-Value
toHSV() - Method in class com.github.ajalt.colormath.HSV
Convert this color to Hue-Saturation-Value
toHSV() - Method in class com.github.ajalt.colormath.RGB
Convert this color to Hue-Saturation-Value
toLAB($this) - Static method in class com.github.ajalt.colormath.ConvertibleColor.DefaultImpls
Convert this color to CIE LAB
toLAB() - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to CIE LAB
toLAB() - Method in class com.github.ajalt.colormath.LAB
Convert this color to CIE LAB
toLAB() - Method in class com.github.ajalt.colormath.RGB
Convert this color to CIE LAB
toLAB() - Method in class com.github.ajalt.colormath.XYZ
Convert this color to CIE LAB
toRGB() - Method in class com.github.ajalt.colormath.Ansi16
Convert this color to Red-Green-Blue (using sRGB color space)
toRGB() - Method in class com.github.ajalt.colormath.Ansi256
Convert this color to Red-Green-Blue (using sRGB color space)
toRGB() - Method in class com.github.ajalt.colormath.CMYK
Convert this color to Red-Green-Blue (using sRGB color space)
toRGB() - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to Red-Green-Blue (using sRGB color space)
toRGB() - Method in class com.github.ajalt.colormath.HSL
Convert this color to Red-Green-Blue (using sRGB color space)
toRGB() - Method in class com.github.ajalt.colormath.HSV
Convert this color to Red-Green-Blue (using sRGB color space)
toRGB() - Method in class com.github.ajalt.colormath.LAB
Convert this color to Red-Green-Blue (using sRGB color space)
toRGB() - Method in class com.github.ajalt.colormath.RGB
Convert this color to Red-Green-Blue (using sRGB color space)
toRGB() - Method in class com.github.ajalt.colormath.XYZ
Convert this color to Red-Green-Blue (using sRGB color space)
toString() - Method in class com.github.ajalt.colormath.Ansi16
 
toString() - Method in class com.github.ajalt.colormath.Ansi256
 
toString() - Method in class com.github.ajalt.colormath.CMYK
 
toString() - Method in class com.github.ajalt.colormath.HSL
 
toString() - Method in class com.github.ajalt.colormath.HSV
 
toString() - Method in class com.github.ajalt.colormath.LAB
 
toString() - Method in class com.github.ajalt.colormath.RGB
 
toString() - Method in class com.github.ajalt.colormath.XYZ
 
toXYZ($this) - Static method in class com.github.ajalt.colormath.ConvertibleColor.DefaultImpls
Convert this color to CIE XYZ
toXYZ() - Method in interface com.github.ajalt.colormath.ConvertibleColor
Convert this color to CIE XYZ
toXYZ() - Method in class com.github.ajalt.colormath.LAB
Convert this color to CIE XYZ
toXYZ() - Method in class com.github.ajalt.colormath.RGB
Convert this color to CIE XYZ

X

XYZ - Class in com.github.ajalt.colormath
CIE XYZ color space.
XYZ(x, y, z) - Constructor for class com.github.ajalt.colormath.XYZ
CIE XYZ color space.
A C E F G H L R T X 
Skip navigation links