Color tools and CSS generators for designers
Good design is built from small, exact values: a brand colour in HEX, a tint that is 20% lighter, a shadow that looks soft rather than muddy, a font size in rem that scales with the reader’s settings. These free colour and design tools give you those values quickly. Use the color picker to choose a shade visually, the color converter to move between HEX, RGB and HSL, and the palette generator to build a harmonious scheme from one starting colour.
For front-end work, CSS generators write the code for you: gradients, box shadows, border radius, text shadows and the frosted glassmorphism effect, each with a live preview so you can tweak by eye and copy clean CSS. Helpers such as the px to rem converter and the aspect ratio calculator take care of the arithmetic of responsive layouts. The generators output standard CSS that works in current browsers, so you can paste it straight into a stylesheet, a component or a design system.
Accessibility is part of the toolkit, not an afterthought. The contrast checker tests text and background pairs against WCAG guidelines, and the color blindness simulator shows how a design may look to people with common colour vision deficiencies. Everything runs in your browser, so unreleased brand work stays private. Web designers, developers, marketers making social graphics, students learning design and anyone choosing paint for a room will find something useful here.
HEX, RGB or HSL: which colour format should you use?
- HEX, such as #1E90FF, is compact and the most common format in brand guidelines, design apps and CSS.
- RGB, such as rgb(30 144 255), describes the red, green and blue light on a screen. Add an alpha value when you need transparency.
- HSL, such as hsl(210 100% 56%), describes hue, saturation and lightness, which makes it easy to create lighter, darker or muted versions of a colour by changing one number.
- CMYK is for print. Screen colours do not map perfectly onto ink, so ask your printer for a proof when colour accuracy matters.
Design tips that save revisions
- Check contrast early. Fixing colours after launch is much harder than choosing accessible pairs at the start.
- Build a scale, not a single colour. The color shades generator creates tints and shades so buttons, borders and hover states stay in the same family.
- Do not rely on colour alone to carry meaning. Pair red and green states with an icon or a label so they work for colour-blind users.
- Use rem for font sizes so text respects the reader’s browser settings; 1rem is 16px by default.
- To pull a colour from a logo or photo, use the color picker from image in our image tools, which reads any pixel of an uploaded picture.
Color & Design: frequently asked questions
How do I convert HEX to RGB?
Split the six digits into three pairs and convert each pair from hexadecimal to decimal, so #FF8800 becomes rgb(255, 136, 0). The color converter does this instantly in both directions.
What contrast ratio do I need for accessible text?
Under WCAG level AA, normal text needs at least 4.5:1 and large text (about 24px, or 18.66px bold) needs 3:1. Level AAA raises those to 7:1 and 4.5:1.
What is glassmorphism?
It is a UI style that imitates frosted glass: a semi-transparent panel with a background blur, a subtle border and a soft shadow. In CSS it relies on the backdrop-filter property, which current major browsers support.
How do I convert px to rem?
Divide the pixel value by the root font size, which is usually 16px. So 24px is 1.5rem and 14px is 0.875rem.
What is a complementary colour?
It is the colour directly opposite on the colour wheel, 180° away in hue, as with blue and orange. Complementary pairs give strong contrast, while analogous or triadic palettes feel calmer or more balanced.
How can I find the name of a colour?
Paste its HEX or RGB value into the color name finder, which matches it to the closest named colour. That helps when writing alt text, product descriptions or design notes.