Skip to content

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

{
    "type": "kaya:hsv",
    "hue": 0.32394366197183,
    "saturation": 1.0,
    "value": 0.90,
    "alpha": 1.0
}

This example provides a bright green HSV color.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.