The OpenD Programming Language

namedColour

Convert a name (string) into a Nullable!colour.

Internally calls std.experimental.colorFromString and names supported are therefore exactly the same. This inludes all the colors defined by X11, adopted by the W3C, SVG, and other popular libraries.

namedColour
(
in string name
)

Meta