Behavior : Color

Author:Rex.Rainbow

Download

Properties

Color

  • Color string. "#000", "000", "#f0f0f688", or "rgba (255, 0, 0, .5)"

Actions

Modification

Action:Spin

  • Spin the hue a given amount, from -360 to 360.
    • Angle ( number ) : Angle, (-360)-360

Set

Action:Set color

  • Set color.
    • Color ( string ) : Color string. "#000", "000", "#f0f0f688", or "rgba (255, 0, 0, .5)"

Action:Set random color

  • Set to random color.

Action:Set RGB

  • Set color by rgb.
    • R ( number ) : R, 0-255
    • G ( number ) : G, 0-255
    • B ( number ) : B, 0-255

Action:Set HSL

  • Set color by hsl.
    • H ( number ) : H, 0-1
    • S ( number ) : S, 0-100
    • L ( number ) : L, 0-100

Action:Set HSV

  • Set color by hsv.
    • H ( number ) : H, 0-1
    • S ( number ) : S, 0-100
    • V ( number ) : V, 0-100

Action:Set alpha

  • Set alpha.
    • Alpha ( number ) : A, 0-1

Expressions

HSL

Expression:HSL

  • Get HSL of current color. Add 2nd parameter "h", "s", "l", "a" to get h/l/s/a componment.

HSV

Expression:HSV

  • Get HSV of current color. Add 2nd parameter "h", "s", "v", "a" to get h/l/s/a componment.

RGBA

Expression:RGB

  • Get RGB of current color. Add 2nd parameter "r", "g", "b", "a" to get r/g/b/a componment.

Expression:Hex

  • Get hex string of current color.

Conditions