tabular.colors

Color space manipulations.

e.g. HSV2RGB, GrayScale, etc... returned in web-safe hex triplets.

tabular.colors.Point2HexColor(a, lfrac, tfrac)

Return web-safe hex triplets.

tabular.colors.hsvToRGB(h, s, v)

Convert HSV (hue, saturation, value) color space to RGB (red, green blue) color space.

Parameters

h : float

Hue, a number in [0, 360].

s : float

Saturation, a number in [0, 1].

v : float

Value, a number in [0, 1].

Returns

r : float

Red, a number in [0, 1].

g : float

Green, a number in [0, 1].

b : float

Blue, a number in [0, 1].

Previous topic

tabular.fast

Next topic

tabular.web

This Page