[][src]Module colorspace::rgb

RGB color types

Structs

RGBAf32
RGBf

Floating-point RGB type

RGBu8
RGBu16

Functions

clamprgb

Clamp c such that each component is at least a and at most b

hmax

Returns the value of the largest component of c

normalize

Returns a colour whose values are a normalized version of c, such that the largest component in the return value will be 1.0

rgbaf32
rgbf
rgbf32
rgbf64
rgbu8
rgbu16

Type Definitions

RGBf32
RGBf64