Skip to content

raylib.ColorNormalize

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get color normalized as float [0..1]

Parameters

Parameter Default Value Note
color

Return value

Condition Return Value
(always) map

Notes

Example

// Get normalized [r, g, b, a] values for RED
v = raylib.ColorNormalize(raylib.RED)
print v  // [1, 0, 0, 1]

Clone this wiki locally