Skip to content

raylib.Fade

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get color with alpha applied, alpha goes from 0.0f to 1.0f

Parameters

Parameter Default Value Note
color
alpha

Return value

Condition Return Value
(always) map

Notes

Example

// Make RED 50% transparent
c = raylib.Fade(raylib.RED, 0.5)
print c

Clone this wiki locally