toggle menu
gwatlin
2.0.1
jvm
switch theme
search in API
gwatlin
/
io.github.kryszak.gwatlin.api.miscellaneous.model.color
Package-level
declarations
Types
Types
Color
Details
Link copied to clipboard
@
Serializable
data
class
ColorDetails
(
val
brightness
:
Double
,
val
contrast
:
Double
,
val
hue
:
Double
,
val
saturation
:
Double
,
val
lightness
:
Double
,
val
rgb
:
List
<
Int
>
)
Data model for dye color details object
Dye
Color
Link copied to clipboard
@
Serializable
data
class
DyeColor
(
val
id
:
Int
,
val
name
:
String
,
val
baseRgb
:
List
<
Int
>
,
val
cloth
:
ColorDetails
,
val
leather
:
ColorDetails
,
val
metal
:
ColorDetails
,
val
fur
:
ColorDetails
?
=
null
,
val
item
:
Int
?
=
null
,
val
categories
:
List
<
String
>
)
Data model for dye color