HSV
Provides an HSV (hue, saturation, value/brightness/lightness) color (which is then converted to ARGB.)
Type ID: kaya:hsv
Format
| Field | Type | Default | Description |
|---|---|---|---|
hue |
Float | The hue component of the color. The value must be within the range of 0.0 to 1.0. | |
saturation |
Float | The saturation component of the color. The value must be within the range of 0.0 to 1.0. | |
value |
Float | The value/brightness/lightness component of the color. The value must be within the range of 0.0 to 1.0. | |
alpha |
Float | The alpha (transparency) component of the color. The value must be within the range of 0.0 to 1.0. |
Example
This example provides a bright green HSV color.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |