Spanish Total.js
English
Documentation For AI agents
Contents

Write or change a colour

Start from a colour that you have written somewhere, or move the sliders until it is the one you want.

.md GitHub
On this page

Write it

Type or paste the colour in Written. These are read, in small letters or capitals:

WrittenExample
HEX, with or without ##9AD959, 9AD959, #FA0
HEX with how solid it is#9AD95980, #FA08
RGBrgb(154 217 89), rgb(154, 217, 89), rgb(60% 85% 35%)
HSLhsl(90 63% 60%)
HSB or HSVhsb(90 59% 85%), hsv(90 59% 85%), 90° 59% 85%
OKLCHoklch(81.6% 0.172 131.3)
Three numbers154, 217, 89, read as RGB from 0 to 255

RGB, HSL, HSB and OKLCH take a fourth number for how solid the colour is: rgb(154 217 89 / 50%) or rgba(154, 217, 89, 0.5).

When the text is not a colour, the field says so and the colour of before stays. Names such as red and the lines of code of Swift, Android or .NET are not read.

Eight digits are read as the web writes them, with how solid the colour is at the end. Android writes it at the start, so move those two digits before you paste a colour of Android.

Change it

SliderWhat it changes
HueWhich colour it is, from 0° to 359° around the wheel
StrengthFrom grey to the strongest of that colour
LightnessFrom black to white
SolidFrom see-through, at 0 %, to solid, at 100 %

Each slider shows the colours that it leads to. With the keyboard, go to a slider with Tab and move it with the arrows.

Everything else in the window follows the colour as you move: its formats, its contrast, its shades.

Read it in words

Next to the colour, TotalColor says it in words, such as "dark green" or "greyish blue". It helps if you do not see some colours well, and a screen reader reads it too.

Made in Europe