Skip to contents

Set background color (framebuffer clear color).

Usage

clear_background(color = "white")

Arguments

color

A color. Default: "white".

Note

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

void ClearBackground(Color color);

See also

color() for creating color objects.