On this page

Function makeUnitColor

  • Turns a [r, g, b] or [r, g, b, a] color defined on the [0, 255] range into a [r, g, b, a] color in the [0, 1] range

    Parameters

    Returns RgbaColor

Was this helpful?
SDK JS
Modules
Reference
functions
makeUnitColor