Colour Notation Systems#

Munsell Renotation System#

colour

munsell_colour_to_xyY(munsell_colour)

Convert given Munsell colour to CIE xyY colourspace.

xyY_to_munsell_colour(xyY[, hue_decimals, ...])

Convert from CIE xyY colourspace to Munsell colour.

Dataset

colour

MUNSELL_COLOURS

Define the Munsell Renotation System datasets.

Munsell Value#

colour

munsell_value(Y[, method])

Return the Munsell value \(V\) of given luminance \(Y\) using given method.

MUNSELL_VALUE_METHODS

Supported Munsell value computation methods.

Priest, Gibson and MacNicholas (1920)#

colour.notation

munsell_value_Priest1920(Y)

Return the Munsell value \(V\) of given luminance \(Y\) using Priest et al. (1920) method.

Munsell, Sloan and Godlove (1933)#

colour.notation

munsell_value_Munsell1933(Y)

Return the Munsell value \(V\) of given luminance \(Y\) using Munsell et al. (1933) method.

Moon and Spencer (1943)#

colour.notation

munsell_value_Moon1943(Y)

Return the Munsell value \(V\) of given luminance \(Y\) using Moon and Spencer (1943) method.

Saunderson and Milner (1944)#

colour.notation

munsell_value_Saunderson1944(Y)

Return the Munsell value \(V\) of given luminance \(Y\) using Saunderson and Milner (1944) method.

Ladd and Pinney (1955)#

colour.notation

munsell_value_Ladd1955(Y)

Return the Munsell value \(V\) of given luminance \(Y\) using Ladd and Pinney (1955) method.

McCamy (1987)#

colour.notation

munsell_value_McCamy1987(Y)

Return the Munsell value \(V\) of given luminance \(Y\) using McCamy (1987) method.

ASTM D1535-08e1#

colour.notation

munsell_value_ASTMD1535(Y)

Return the Munsell value \(V\) of given luminance \(Y\) using an inverse lookup table from ASTM D1535-08e1 method.

Hexadecimal Representation#

colour.notation

RGB_to_HEX(RGB)

Convert from RGB colourspace to hexadecimal representation.

HEX_to_RGB(HEX)

Convert from hexadecimal representation to RGB colourspace.

Web Colours#

colour.notation

CSS_COLOR_3_BASIC

The list of basic colour keywords.

CSS_COLOR_3_EXTENDED

The list of the X11 colors supported by popular browsers with the addition of gray/grey variants from SVG 1.0.

CSS_COLOR_3

List of colour keywords as given by as given by CSS Color Module Level 3 W3C Recommendation.

keyword_to_RGB_CSSColor3(keyword)

Convert given colour keyword to RGB colourspace according to CSS Color Module Level 3 W3C Recommendation.