Skip to contents

Get hexadecimal value for a Color (0xRRGGBBAA).

Usage

color_to_int(color)

Arguments

color

A color.

Value

An integer

Note

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

int ColorToInt(Color color);

Examples

color_to_int("red")
#> [1] -16776961