Skip to content

raylib.ColorFromNormalized

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get color from normalized values [0..1]

Parameters

Parameter Default Value Note
normalized

Return value

Condition Return Value
(always) map

Notes

Example

// Build a color from normalized [r, g, b, a] components
c = raylib.ColorFromNormalized([1, 0, 0, 1])
print c  // opaque red

Clone this wiki locally