Toolvito

Works on this device

Color Picker

Choose a colour with the sliders, pick one from your screen, or open a picture and pick a point in it. The page gives the colour as hex, RGB, HSL and more, and each value can be copied.

Pick a colour

Click or drag in the box. Left of the box is grey and right is the full colour. The top is light and the bottom is dark. Keys: the arrow keys move by 1, or by 10 with Shift. Page Up and Page Down change the lightness by 10. Home and End set the saturation to 0 and 100.

Colour
RGB
CSS name
220°
60%
50%
100%

Ready. Everything is worked out in this browser. Nothing is sent to a server.

Colour values

To change the colour by its code, type in any box and press Enter. Any colour code is read in any box.

Pick a colour from a picture

A PNG, JPEG, WebP, GIF, BMP or AVIF file of at most 30 MB. It is opened in this browser only and is not uploaded.

Palette from this colour

The hue is turned on the HSL hue circle. Saturation and lightness stay the same.

    Recent colours

    No colours yet. A colour is added here when you pick it or type its code.

      This is off unless you turn it on. The list then stays in this browser only. Untick the box to delete it.

      How to use the colour picker

      1. Move the Hue, Saturation and Lightness sliders, or click in the coloured box. The box shows every saturation and lightness of the hue you chose.
      2. Read the values under Colour values. Choose Copy next to a value to copy it.
      3. To start from a code you already have, type it into any value box and press Enter. All the other values and the sliders follow.
      4. To pick from a picture, choose a file under Pick a colour from a picture, then click a point in the picture.
      5. Choose a rule under Palette from this colour to get colours that go with yours.

      Using the keyboard

      • Every slider works with the arrow keys in steps of 1. Page Up and Page Down move a slider by 10. Home and End go to the two ends.
      • In the coloured box, the left and right arrow keys change the saturation and the up and down arrow keys change the lightness, by 1. Hold Shift for steps of 10. Page Up and Page Down change the lightness by 10. Home and End set the saturation to 0 and 100.
      • In a picture, the arrow keys move the cross by 1 pixel, or by 10 pixels with Shift. Press Enter or Space to pick the colour under the cross. You can also type the X and Y position.
      • The place of the marker is always given in words and numbers too, so you do not need to judge it by colour.

      Pick from the screen

      Some browsers have a tool that lets a page read the colour of one point on your screen after you click it. Chrome and Edge on a computer have it. Firefox and Safari do not have it at this time.

      When your browser has it, the button Pick from the screen is shown. The browser only gives the page the one colour you click. When your browser does not have it, the page says so. You can then take a screenshot and open it as a picture.

      Pick from a picture

      The picture is opened by your browser on your device. It is not uploaded. The page draws it and reads the red, green and blue values of the point you choose.

      A photo has noise, so two points that look the same can differ a little. Choose a larger Area to read to get the mean colour of a small square. A very large picture is made smaller first, to at most 2000 pixels on its longer side.

      Colours are read as sRGB values, the way the browser draws the picture. A picture with another colour profile can give slightly different numbers than a photo program.

      The values and the palette rules

      • Hex, RGB, HSL, HSV (HSB) and HWB are different ways to write the same sRGB colour. Lab, LCh, OKLab and OKLCH are the values that CSS lab(), lch(), oklab() and oklch() use.
      • CMYK is the naive formula from RGB: K = 1 − the largest channel. It is not a print conversion. The printed colour depends on the press profile.
      • A palette rule turns the hue on the HSL hue circle and keeps saturation and lightness. Complementary is the opposite hue, 180° away. Analogous is 30° to each side. Triadic is three hues 120° apart. Tetradic uses 60°, 180° and 240°. Square is four hues 90° apart.
      • Monochrome keeps hue and saturation and sets the HSL lightness to 10%, 20% and so on up to 90%.

      Worked example

      Type #3366cc into the Hex box and press Enter. The sliders move to hue 220, saturation 60 and lightness 50. The RGB value is rgb(51, 102, 204) and the HSL value is hsl(220, 60%, 50%).

      Choose the rule Complementary. The opposite hue is 220° + 180° = 400°, which is 40° on the circle. With the same saturation and lightness the colour is hsl(40, 60%, 50%), and that is #cc9933.

      Limits you should know

      • Colours are 8-bit sRGB. Wide-gamut screens can show colours that these numbers do not cover.
      • The colour you see depends on your screen and its settings. Two screens can show the same code differently.
      • Pantone, RAL, NCS and paint colour names are not given. Those colour lists belong to their makers.
      • The list of recent colours is kept only while the page is open, unless you tick the box to remember it on this device.
      • The page does not make a palette from a whole picture. It reads the points you choose.

      Related tools