Kore
Loading...
Searching...
No Matches
color.h File Reference

Provides some utility functionality for handling 32 bit ARGB color values. More...

#include <kinc/global.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define KINC_COLOR_BLACK   0xff000000
#define KINC_COLOR_WHITE   0xffffffff
#define KINC_COLOR_RED   0xffff0000
#define KINC_COLOR_BLUE   0xff0000ff
#define KINC_COLOR_GREEN   0xff00ff00
#define KINC_COLOR_MAGENTA   0xffff00ff
#define KINC_COLOR_YELLOW   0xffffff00
#define KINC_COLOR_CYAN   0xff00ffff

Functions

KINC_FUNC void kinc_color_components (uint32_t color, float *red, float *green, float *blue, float *alpha)
 Splits up an 32 bit ARGB color value into its components.

Detailed Description

Provides some utility functionality for handling 32 bit ARGB color values.