API reference
Preparing search index…

ImGui.ImColor_HSV

  • Create an RGBA color from hue, saturation, value, and alpha.

    Parameters

    h
    number

    Hue/saturation/value component for HSV conversion, normally in the 0 to 1 range.

    s
    number

    Hue/saturation/value component for HSV conversion, normally in the 0 to 1 range.

    v
    number

    Hue/saturation/value component for HSV conversion, normally in the 0 to 1 range.

    a
    number = 1.0

    Alpha component of the resulting color, normally 0 to 1.

    Returns

    Copied RGBA color {x: r, y: g, z: b, w: a} converted from the supplied HSV and alpha components.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0