Template:Composition bar/doc

Usage
Where red, green and blue are numbers between 0 and 1.

Alternatively, use the hex triplet from most Conservative Party (UK)/meta/color and similar templates:

Do not pad values with spaces.