Colour and CSS
Colour conversion, contrast checks and CSS generators for landing pages, email templates and proposals.
- Colour code converterEvery tool wants colours in a different form: a website builder wants HEX, a slide deck wants RGB, a printer asks for CMYK. Type the colour once and copy whichever version you need.
- Colour contrast checkerPale grey text on white looks elegant and is hard to read. Enter a text colour and a background, see the contrast ratio and which WCAG levels it passes, and get a corrected colour in one click.
- Colour extractor from imageLoad a logo or a screenshot and get its main colours as HEX codes, each with the share of the picture it covers. Then click any spot to pick an exact colour by hand.
- Colour inverterEnter a colour and get its exact inverse, the colour you would see in a photo negative, alongside its complementary hue on the colour wheel. They are often confused, and they are not the same.
- Colour mixerPick two colours and slide between them to find the blend you want. Nine evenly spaced steps show the whole range, ready to copy for charts, backgrounds and in-between brand shades.
- Colour palette generatorStart from the one colour a small business already has, usually from its logo, and build matching colours around it: a harmony palette for accents and a ten-step scale for backgrounds, borders and text.
- Colour pickerChoose a colour with your system picker, or sample one straight off your screen, and copy the code. Ten lighter and darker versions appear underneath for hover states, backgrounds and borders.
- CSS border radius generatorDrag a slider and watch a shape's corners round off, then copy the `border-radius` line into your stylesheet or your site builder's custom CSS box.
- CSS box shadow generatorSoft, layered shadows make cards and buttons look lifted off the page. Shape one on a live preview card and copy the `box-shadow` line for your site.
- CSS flexbox generatorFlexbox lines things up in a row or a column: buttons in a header, logos in a strip, cards that wrap. Choose the settings and watch the preview boxes rearrange before you copy the CSS.
- CSS gradient generatorBlend two or more colours into a background for a hero banner, a button or a section divider. Adjust the stops on a live preview and copy CSS that includes a plain colour fallback.
- CSS grid generatorLay out cards, team photos or service tiles in neat rows and columns. Choose a fixed number of columns or let them wrap on smaller screens, then copy the grid CSS.
- CSS text shadow generatorMove the sliders and watch the sample heading change. When it looks right, copy the `text-shadow` line underneath and paste it into your style sheet.
- CSS unit converterType a value, choose its unit, and see it in all six common CSS units at once. Set the root font size, the parent font size and the screen width to match your own site.
- HEX to RGB converterPaste a HEX code from a brand guide or a website and get the RGB values that office software and many design tools ask for. You also see straight away whether white or black text reads better on it.
- PX to REM converterType a pixel or rem value, set the root font size, and read the other unit straight away. A reference table underneath lists the common sizes at whatever root you choose.
- Random colour generatorPick how many colours you want and press Generate. Tick Keep under any swatch you like, then generate again: the kept ones stay put while the others change.
- RGB to HEX converterEnter the red, green and blue values, or drag the sliders, and the HEX code appears on a preview of the colour. Copy it in capitals or in lower case.