Skip to content

raylib.ColorAlphaBlend

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get src alpha-blended into dst color with tint

Parameters

Parameter Default Value Note
dst
src
tint

Return value

Condition Return Value
(always) map

Notes

Example

// Blend a semi-transparent red over a blue background
dst = raylib.BLUE
src = raylib.ColorAlpha(raylib.RED, 0.5)
blended = raylib.ColorAlphaBlend(dst, src, raylib.WHITE)
print blended

Clone this wiki locally