--- title: Get started with TotalColor project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/getting-started/ updated: 2026-12-02T15:40:46.087Z --- # Get started with TotalColor > TotalColor is for the colours of your work: take one from your screen, copy it as your code writes it, check that text reads in it, and keep your palettes. ![A green in TotalColor, written in thirteen formats, with its contrast on white and a palette at the side](https://totaljs.es/_totaldesktop/shots/totalcolor-1.webp) ## Install it Download TotalColor for macOS, Windows or Linux from [its page](https://totaljs.es/en/totaldesktop/totalcolor/#download). [Install the apps](/totaldesktop/latest/guides/install/) explains each system step by step. ## The first time 1. Open TotalColor and press **Pick from the screen**. On Linux, where the app cannot pick from the screen, write a colour in **Written** instead. 2. Click the colour that you want, in any window. It is now in **The colour**, and its HEX is copied, ready to paste. 3. Look at **On a ground** to know if text in that colour reads on white. 4. Press **Keep this colour**. TotalColor makes your first palette, **My colours**, with it. The line at the bottom of the window has the colour, its name in words and the last thing done. ## The parts of the window | Part | What it is for | | --- | --- | | **Palettes** | The colours that you [keep together](/totalcolor/latest/guides/palettes/) | | **Picked lately** | The last 24 colours that you picked or wrote | | **The colour** | The colour of now, to [write it or change it](/totalcolor/latest/guides/write-a-colour/) | | **Written as** | The same colour in every format, to [copy it](/totalcolor/latest/guides/copy-a-colour/) | | **On a ground** | The [contrast](/totalcolor/latest/guides/contrast/) of the colour on another one | | **From this colour** | Its [shades and the colours that go with it](/totalcolor/latest/guides/shades-and-matches/), and [how other eyes see it](/totalcolor/latest/guides/colour-blindness/) | | **Settings** | Picking a colour [from any app](/totalcolor/latest/guides/from-any-app/) | In a narrow window, the palettes are behind the button **Show the sidebar**. ## Colours are squares that you can press Every square of the window is a colour. Press one to make it the colour of now. Only those of **As other eyes see it** copy their HEX instead. Leave the pointer on a square to read its HEX. --- title: Pick a colour from the screen project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/pick-a-colour/ updated: 2026-12-02T15:40:46.087Z --- # Pick a colour from the screen > Take the exact colour of anything on your screen: a button, a photo, a page in your browser. > Picking from the screen works on the Mac and on Windows. On Linux, [write the colour](/totalcolor/latest/guides/write-a-colour/). ## Pick one 1. Press **Pick from the screen**, or ⌘⇧P on the Mac and Ctrl+Shift+P on Windows. 2. The picker of your system appears. Move it over the colour, and click. The colour goes to **The colour**, and TotalColor copies it in the [format that you marked](/totalcolor/latest/guides/copy-a-colour/), which is HEX at first. Press Esc to leave the picker without taking anything. ## Do not copy it Turn off **Copy the marked one as soon as a colour is picked**, at the end of **Written as**. Then a pick only shows the colour, and what you had copied stays. A colour picked [from any app](/totalcolor/latest/guides/from-any-app/) is always copied, because that is what it is for. ## Go back to an earlier one **Picked lately** keeps the last 24 colours, the newest first. Press a square to take that colour again. The bin empties the list. The list also has the colours that you write by hand. It does not have those that you make with the sliders or take from a square: [keep them in a palette](/totalcolor/latest/guides/palettes/). ## Pick a text and its ground To measure how a text reads, press **Pick the text, then the ground**. [Check the contrast](/totalcolor/latest/guides/contrast/) explains it. ## Which colour you get TotalColor works with the colours of the web (sRGB), from 0 to 255 for red, green and blue. On a screen that shows more colours, a very strong one is brought into sRGB. A picked colour is always solid: the screen does not say how see-through something is. --- 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. --- title: Copy a colour for your code project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/copy-a-colour/ updated: 2026-12-02T15:40:46.087Z --- # Copy a colour for your code > TotalColor writes a colour in thirteen formats at once, so you copy the one that your code, your style sheet or your design needs. ## Copy one In **Written as**, press the line of the format. The bottom of the window says what was copied. ## The formats This is `#9AD959` in each of them: | Format | Text | | --- | --- | | **HEX** | `#9AD959` | | **RGB** | `rgb(154 217 89)` | | **RGB, commas** | `rgb(154, 217, 89)` | | **HSL** | `hsl(90 63% 60%)` | | **OKLCH** | `oklch(81.6% 0.172 131.3)` | | **HSB** | `90° 59% 85%` | | **SwiftUI** | `Color(red: 0.604, green: 0.851, blue: 0.349)` | | **UIKit** | `UIColor(red: 0.604, green: 0.851, blue: 0.349, alpha: 1)` | | **AppKit** | `NSColor(srgbRed: 0.604, green: 0.851, blue: 0.349, alpha: 1)` | | **Compose, Flutter** | `Color(0xFF9AD959)` | | **Android XML** | `#FF9AD959` | | **.NET** | `Color.FromArgb(255, 154, 217, 89)` | | **From 0 to 1** | `0.604, 0.851, 0.349` | If none is what you need, [write your own](#write-your-own-format). ## A colour that is not solid Every format but **HSB** also writes how solid the colour is. HEX gets two more digits at the end, and **RGB, commas** becomes `rgba(154, 217, 89, 0.5)`. ## Mark the format that you use Press the bookmark at the end of a line to mark that format. The marked one has a tick, and it is what TotalColor copies: - as soon as you [pick a colour](/totalcolor/latest/guides/pick-a-colour/), if **Copy the marked one as soon as a colour is picked** is on; - when you pick [from any app](/totalcolor/latest/guides/from-any-app/); - with ⌘⇧C on the Mac and Ctrl+Shift+C on Windows and Linux. ## Write your own format 1. At the end of **Written as**, press **Write it your own way…** 2. In **Written**, type the text as your code wants it, with words in braces where the numbers go. For example, `vec4({r1}, {g1}, {b1}, {a})` copies `vec4(0.604, 0.851, 0.349, 1)`. 3. Look at **Gives**, below the field: it has the colour of now in your format. Press **Keep it**. Your format is now the last line of **Written as**, called **Yours**. You copy it and mark it as any other. | Words | What they become | | --- | --- | | `{r}` `{g}` `{b}` | Red, green and blue from 0 to 255 | | `{r1}` `{g1}` `{b1}` | The same from 0 to 1 | | `{a}` | How solid, from 0 to 1 | | `{a255}` | How solid, from 0 to 255 | | `{hex}` `{HEX}` | Six digits, small or capital, without `#` | | `{hexa}` `{HEXA}` | Eight digits, with how solid at the end | | `{h}` `{s}` `{l}` | Hue in degrees, strength and lightness in percent | The braces of your code stay as they are: `{ r: {r} }` copies `{ r: 154 }`. Press **Change your own way…** to write another. To have none, empty the field and press **Keep it**. If it was the marked format, HEX is marked again. --- title: Pick a colour from any app project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/from-any-app/ updated: 2026-12-02T15:40:46.087Z --- # Pick a colour from any app > Keep TotalColor next to the clock, or give it keys of your choice, and take colours while you work in another app. ## Stay next to the clock 1. Press the button **Settings**, at the top right. 2. Turn on **Stay next to the clock when the window is closed**. 3. Press **Keep them**. The mark of TotalColor is now in the menu bar of the Mac, or in the notification area of Windows and Linux. Closing the window no longer quits the app. The menu of the mark has: | Choice | What it does | | --- | --- | | **Pick a colour** | Picks a colour and copies it | | **Open TotalColor** | Brings the window back | | **Quit TotalColor** | Quits the app | TotalColor does not open by itself with your session. ## Choose the keys 1. In **Settings**, press the field next to **Keys to pick a colour from any app**. It says **Press the keys…** 2. Press the keys. They end in a letter, a digit, the space bar or a key from F1 to F12. With a letter, a digit or the space bar, one of them must be ⌃, ⌥ or ⌘ on the Mac, and Ctrl, Alt or Win on Windows and Linux. 3. Press **Keep them**. Esc leaves the field without changing it. **None** takes the keys away. The keys work while TotalColor is open or next to the clock. ## What happens when you pick On the Mac, the picker appears over the app where you are, and the window of TotalColor stays where it was. The colour is copied in the [marked format](/totalcolor/latest/guides/copy-a-colour/), and the text copied shows beside the mark for four seconds. On Windows, the window of TotalColor comes to the front, and the colour is picked from there. If the picker needs a click first, the line at the bottom says so and **Pick from the screen** is ready: press Enter. After a copy, the mark says what was copied when you leave the pointer on it. On Linux, TotalColor cannot pick from the screen. The choice and the keys bring its window, where you [write the colour](/totalcolor/latest/guides/write-a-colour/). A colour picked this way is always copied, also when **Copy the marked one as soon as a colour is picked** is off. --- title: Check that a text reads project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/contrast/ updated: 2026-12-02T15:40:46.087Z --- # Check that a text reads > The contrast says how well a text reads on the colour behind it. TotalColor measures it as the accessibility rules of the web do (WCAG 2), and finds the nearest colour that passes. ## Measure two colours 1. Put the colour of the text in **The colour**: [pick it](/totalcolor/latest/guides/pick-a-colour/) or [write it](/totalcolor/latest/guides/write-a-colour/). 2. Put the colour behind it in **Ground**, in the card **On a ground**. Write it, or press the dropper next to the field. The button with the round arrow swaps the two. On the Mac and on Windows, there is a shorter way. Press **Pick the text, then the ground**, click the text, and then click what is behind it. If the picker needs another click for the second one, the line at the bottom says so and the dropper next to **Ground** is ready: press Enter. ## Read the result The sample shows a large and a usual text in your two colours. Below is the contrast, from 1 to 1 (the same colour) to 21 to 1 (black on white). Each line says **Reads** or **Does not**: | Line | It needs | | --- | --- | | **Text** | 4.5 to 1 | | **Large text and controls** | 3 to 1 | | **Text, the strict rule** | 7 to 1 | | **Large text, the strict rule** | 4.5 to 1 | The first two are the level AA of WCAG, and the strict ones are the level AAA. A colour that is not solid is measured as it looks on the ground. A ground that is not solid is measured as it looks on white. ## Make it pass When the colour does not read as text, TotalColor gives the nearest one that does: the same hue, a little darker or lighter. Press **Take it** to make it the colour of now. With some grounds there is none. TotalColor then says **On this ground no shade of this colour reads as text: change the ground**. ## Contrast is not all A good contrast does not tell apart two colours that mean different things. For that, see [how other eyes see them](/totalcolor/latest/guides/colour-blindness/). --- title: Find shades and matching colours project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/shades-and-matches/ updated: 2026-12-02T15:40:46.087Z --- # Find shades and matching colours > From one colour, TotalColor makes a scale from light to dark and finds the colours that go well with it. Both are in **From this colour**. ## Lighter and darker The scale has the eleven steps that design systems use: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900 and 950. 50 is the lightest, and 950 the darkest. The steps keep the hue of your colour. They are strongest in the middle and softer at the ends. The lightness of each step is the same for every colour, so the scales of two colours go well together. Your own colour is not always one of the steps: it sits between the two nearest to its lightness. ## That go with it These colours have the lightness and the strength of yours, and another place around the wheel: | Group | Colours | | --- | --- | | **Opposite** | The one at the other side of the wheel | | **Neighbours** | The two beside it | | **Three apart** | The two that share the wheel with it in three equal parts | | **Beside the opposite** | The two at each side of the opposite | When the screen cannot show one of them as strong as yours, it is a little softer. ## Use one Press a square to make it the colour of now. The scale and the matches are then made again from that one. To go back, press your first colour in **Picked lately** or in a palette. So [keep it in a palette](/totalcolor/latest/guides/palettes/) before you explore. ## Keep a whole scale Keep the steps one by one: 1. Keep your colour in the palette. 2. Press a step, and keep it with ⌘D on the Mac and Ctrl+D on Windows and Linux. 3. Press your colour in the palette to come back to its scale, and go on with the next step. Then [name each one](/totalcolor/latest/guides/palettes/#name-a-colour), such as "Green 500", and [write the palette out](/totalcolor/latest/guides/export-a-palette/) as variables. --- title: See a colour as colour-blind people do project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/colour-blindness/ updated: 2026-12-02T15:40:46.087Z --- # See a colour as colour-blind people do > Many people do not see some colours as you do. TotalColor shows how the colour of now looks to them, so you do not rely on a difference that they cannot see. ## The four ways of seeing They are in **As other eyes see it**, at the end of **From this colour**: | Line | Who sees so | | --- | --- | | **Without red** | People with protanopia | | **Without green** | People with deuteranopia | | **Without blue** | People with tritanopia | | **Without colour** | People with achromatopsia, who see only greys | Each line has the colour and its HEX. **the same** means that they see it as it is. These are the complete forms. Many people have a milder one, and see something between your colour and this one. ## Compare two colours To know if two colours can be told apart, for example the red of an error and the green of a success: 1. Put the first one in **The colour**, and look at the four lines. 2. Put the second one, and compare. If two squares of the same line look alike, those people cannot tell your colours apart. Add something more than colour: an icon, a word or a shape. A difference in lightness also helps, because everyone sees it. ## Copy one Press a square of this list to copy its HEX, for example to show the difference to someone. These are the only squares that do not change the colour of now. ## Text is another matter Whether a text reads on its ground depends on the [contrast](/totalcolor/latest/guides/contrast/), not on this list. --- title: Keep colours in a palette project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/palettes/ updated: 2026-12-02T15:40:46.087Z --- # Keep colours in a palette > A palette keeps the colours of a project together, with a name each and in your order. You can have as many palettes as you want. ## Make a palette Press the plus next to **Palettes**, write its name, and press **Make it**. If you have none, press **Keep this colour**: TotalColor makes the palette **My colours** with the colour of now. You can also [read one from a file](/totalcolor/latest/guides/import-colours/). ## Choose where colours go All your palettes are at the side. One is open, with a tick: there go the colours that you keep. Press the name of another to open it. Press a square of any palette to make it the colour of now. The palette does not have to be open. ## Keep a colour Press **Keep this colour**, or ⌘D on the Mac and Ctrl+D on Windows and Linux while you are not in a field of text. A palette has each colour once. A palette keeps the colour as it is now. If you change it later with the sliders, keep the new one and take the old one out. ## Name a colour 1. Press the name of the colour in the open palette, or its HEX if it has no name. 2. Write what it is for, such as "Text on dark", and press **Name it**. The names are used when you [write the palette out](/totalcolor/latest/guides/export-a-palette/), so write them with your code in mind. ## Put them in order Drag a colour to its new place. With the keyboard, go to the name of the colour and press ⌥↑ or ⌥↓ on the Mac, and Alt+↑ or Alt+↓ on Windows and Linux. The buttons **Earlier** and **Later**, in the window where you name it, do the same. ## Take out and remove - To take a colour out, press its name and then **Take it out**. It goes at once. - To remove the open palette, press **Remove**, and again to confirm. - **Rename** changes the name of the palette. > A palette that you remove is gone for good, with the names of its colours. [Write it out](/totalcolor/latest/guides/export-a-palette/) first if you may need it. --- title: Write a palette out project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/export-a-palette/ updated: 2026-12-02T15:40:46.087Z --- # Write a palette out > Turn a palette into code or into a file for a drawing program, to copy it or to save it. ## Write it out 1. Open the palette, and press **Write it out…** 2. Choose the format in **As**. The text shows below. 3. Press **Copy**, or **Save to a file…** to choose where it goes. ## The formats | Format | What it is | File | | --- | --- | --- | | **CSS variables** | A `:root` with a variable per colour | `.css` | | **SCSS variables** | A `$` variable per colour | `.scss` | | **JSON** | An object with the names and their colours | `.json` | | **A list** | A colour per line, with its name | `.txt` | | **For drawing programs (GPL)** | A palette that GIMP, Inkscape and Krita read | `.gpl` | A palette with the colours "Green" and "Text on dark" is written in CSS like this: ```css :root { --green: #9ad959; --text-on-dark: #f3f3ee; } ``` ## How the names change In CSS, SCSS and JSON, the name of a colour becomes one that code accepts: small letters without accents, digits and dashes. "Añil / Azul" is `anil-azul`. - A colour without a name is called by its place: `colour-3`. - Two colours with the same name are told apart by a number: `green` and `green-2`. The list and the GPL file keep the names as you wrote them. ## Colours that are not solid They are written with eight digits, such as `#9ad95980`. > The GPL format has no place for how solid a colour is, so all of them go there solid. ## Move your palettes to another computer Save each palette with **A list**, which keeps the names and how solid each colour is, and [read it](/totalcolor/latest/guides/import-colours/) there. A palette read from a list is named after its file. --- title: Read colours from a file or a text project: TotalColor version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcolor/latest/guides/import-colours/ updated: 2026-12-02T15:40:46.087Z --- # Read colours from a file or a text > Bring the colours that you already have in a style sheet, a palette of a drawing program or a list, without typing them one by one. ## From a file Press the folder next to **Palettes**, and choose the file. TotalColor makes a new palette with the colours that it finds. The palette has the name that the file gives itself, if it is a GPL palette, or the name of the file. You can choose files that end in `.gpl`, `.css`, `.scss`, `.less`, `.json`, `.txt`, `.svg` and `.html`, of 2 MB at most. ## From a text 1. Open the palette where the colours go. 2. Press **Read from text…**, and paste the text. The colours found show below it. 3. Press the button that says how many there are, for example **Keep 5 colours**. The colours that the palette already has are not added again. If you have no palette, press **Keep this colour** or make one first. ## What is read - In a palette of GIMP, every colour with its name. - In any other text, the colours written with `#` and three, six or eight digits (`#FA0`, `#9AD959`, `#9AD95980`), and those written as `rgb(…)`, `hsl(…)` and `oklch(…)`, when the whole colour is on one line. > Names such as `red` are not read from a file or a text, nor colours with a variable inside, such as `rgb(var(--x))`. ## The names When a line has one colour, the rest of the line is its name. So `--brand: #9ad959;` gives a colour called `brand`, and `#9AD959 Green` one called `Green`. From JSON, the name is the one before the colour: `"green": "#9ad959"` gives `green`. A line with several colours gives them without names: [name them](/totalcolor/latest/guides/palettes/#name-a-colour) after. Each colour is kept once, with the first name that it has in the text. --- title: Problems and answers project: TotalColor version: Latest section: faq language: en license: url: https://totaljs.es/docs/totalcolor/latest/faq/problems/ updated: 2026-12-02T15:40:46.087Z --- # Problems and answers > What to do when TotalColor does not do what you expected. ## "This system gives the app no picker for the screen" It happens on Linux, where the app cannot take colours from the screen. [Write the colour](/totalcolor/latest/guides/write-a-colour/) instead. ## The picker does not appear on Windows When you ask for a colour from the mark next to the clock or with your keys, the window of TotalColor comes first. If it says **The picker opens only after a click in this window**, press Enter, or the button that it names. The colour is copied all the same. ## "Those keys cannot be taken: another app may have them. Try others" The keys belong to another app or to the system. TotalColor is left without keys until you [choose others](/totalcolor/latest/guides/from-any-app/#choose-the-keys). ## "No colours were found in that file" A file gives the colours written with `#` and three, six or eight digits, or as `rgb(…)`, `hsl(…)` or `oklch(…)`, and those of GPL palettes. [What is read](/totalcolor/latest/guides/import-colours/#what-is-read) has the details. ## "That file is too large to be a palette: 2 MB at most" Copy the part of the file with the colours, and paste it in **Read from text…** ## "That file is not text: no colours can be read from it" TotalColor reads text files. A photo or the own file of a design program has no text to read: [pick its colours](/totalcolor/latest/guides/pick-a-colour/) from the screen. ## The colour that I pasted is another one - Three numbers are read as RGB from 0 to 255. Numbers from 0 to 1 give almost black. - Eight digits are read with how solid the colour is at the end. Android writes it at the start. ## The slider does nothing A black, a white or a grey has no hue to change. Move **Lightness** and **Strength** first. ## The picked colour is not the one in my style sheet The picker takes the colour that the screen shows, which can be a little different from the one written. If you have the code of the colour, [write it](/totalcolor/latest/guides/write-a-colour/) instead of picking it. ## Closing the window quits the app It is what happens at first. To keep it, turn on [Stay next to the clock](/totalcolor/latest/guides/from-any-app/#stay-next-to-the-clock). ## Where my palettes are, and what TotalColor knows about me Your palettes, your settings and the last colours stay on your computer. TotalColor connects to nothing, and nothing is collected about you. [Privacy](/totaldesktop/latest/guides/privacy/) has the details. To have a copy of a palette, [write it out](/totalcolor/latest/guides/export-a-palette/). ## Something else [Report the problem](https://github.com/totaljs-es/totaljs-desktop/issues/new?template=problem.yml) with the version of TotalColor and your system.