---
title: Write or change a colour
project: TotalColor
version: Latest
section: guides
language: en
license: 
url: https://totaljs.es/docs/totalcolor/latest/guides/write-a-colour/
updated: 2026-12-02T15:40:46.087Z
---

# 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.

## Write it

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

| Written | Example |
| --- | --- |
| HEX, with or without `#` | `#9AD959`, `9AD959`, `#FA0` |
| HEX with how solid it is | `#9AD95980`, `#FA08` |
| RGB | `rgb(154 217 89)`, `rgb(154, 217, 89)`, `rgb(60% 85% 35%)` |
| HSL | `hsl(90 63% 60%)` |
| HSB or HSV | `hsb(90 59% 85%)`, `hsv(90 59% 85%)`, `90° 59% 85%` |
| OKLCH | `oklch(81.6% 0.172 131.3)` |
| Three numbers | `154, 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

| Slider | What it changes |
| --- | --- |
| **Hue** | Which colour it is, from 0° to 359° around the wheel |
| **Strength** | From grey to the strongest of that colour |
| **Lightness** | From black to white |
| **Solid** | From 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.
