Function Macro

PhocHEX_COLOR

Declaration [src]

#define PHOC_HEX_COLOR (
  r,
  g,
  b
)

Description [src]

Convenience macros to create a color from components in the [0x0..0xff] range rather than [0.0, 1.0].

This function is not directly available to language bindings.

Parameters

r

Type: -

The red component.

g

Type: -

The green component.

b

Type: -

The blue compoent.