toggle menu
colormath
common
switch theme
colormath
com.
github.
ajalt.
colormath
Angle
Unit
AUTO
DEGREES
RADIANS
GRADIANS
TURNS
Color
Companion
Color
Component
Info
Color
Space
convert
To()
format
Css
String()
format
Css
String
Or
Null()
hue
As
Grad()
hue
As
Rad()
hue
As
Turns()
Hue
Color
hue
Or()
Illuminant
parse()
parse
Or
Null()
Render
Condition
ALWAYS
NEVER
AUTO
White
Point
White
Point
Color
Space
com.
github.
ajalt.
colormath.
calculate
difference
CIE2000()
difference
CIE76()
difference
CIE94()
difference
CMC()
difference
Ez()
euclidean
Distance()
first
With
Contrast()
first
With
Contrast
Or
Null()
is
In
SRGBGamut()
most
Contrasting()
wcag
Contrast
Ratio()
wcag
Luminance()
com.
github.
ajalt.
colormath.
model
Ansi16
Companion
Ansi256
Companion
CMYK
Companion
HPLuv
Companion
HSL
Companion
HSLuv
Companion
HSV
Companion
HWB
Companion
ICt
Cp
Companion
Jz
Az
Bz
Companion
Jz
Cz
Hz
Companion
LAB
Companion
LABColor
Space
LABColor
Space()
LABColor
Spaces
LCHab
Companion
LCHab
Color
Space
LCHab
Color
Space()
LCHab
Color
Spaces
LCHuv
Companion
LCHuv
Color
Space
LCHuv
Color
Space()
LCHuv
Color
Spaces
LUV
Companion
LUVColor
Space
LUVColor
Space()
LUVColor
Spaces
Oklab
Companion
Oklch
Companion
RGB
Companion
RGBColor
Space
Gamma
Transfer
Functions
Linear
Transfer
Functions
Transfer
Functions
RGBColor
Space()
RGBColor
Spaces
RGBInt
Companion
SRGB
xy
Y
XYZ
Companion
XYZColor
Space
XYZColor
Space()
XYZColor
Spaces
com.
github.
ajalt.
colormath.
transform
Chromatic
Adapter
RGB
Chromatic
Adapter
RGBInt
Color
Mapper
Component
Adjustment
converter
To()
create
Chromatic
Adapter()
divide
Alpha()
Easing
Function
Easing
Functions
Hue
Adjustments
interpolate()
Interpolation
Method
Component
Interpolator
Point
Interpolation
Methods
Interpolator
interpolator()
Interpolator
Builder
Interpolator
Stop
Builder
Interpolator
Stop
Builder
Context
map()
mix()
multiply
Alpha()
RGBTo
RGBConverter
sequence()
colormath
/
com.github.ajalt.colormath
/
Color
/
toHSL
to
HSL
open
fun
toHSL
(
)
:
HSL
Convert this color to HSL