Module:English colour name/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search


This module returns the generic English name of for the inputted colour. To turn a hex code into a colour name, write: {{#invoke:English colour name|hex|colour}} and replace "colour" with the hex code. To turn an RGB triplet into a colour name, write: {{#invoke:English colour name|rgb|red|green|blue}} with the red, green and blue parts in their place.