Skip to contents

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

Usage

fade(color, alpha)

Arguments

color

A color.

alpha

A number.

Value

A color

Note

This function has been auto-generated from the following Raylib function definition:

Color Fade(Color color, float alpha);

See also

color() for creating color objects.