Skip to content

raylib.Fade

JoeStrout edited this page Nov 16, 2026 · 3 revisions

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

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