Free design tools for web designers
69 free design tools that run in your browser: check WCAG contrast; convert HEX, RGB, HSL, CMYK and OKLCH colours; generate CSS gradients, shadows, grids and loaders; convert px, rem, em and pt; and convert, compress and Base64-encode PNG, JPG, WebP and SVG images.
Every tool below runs in your browser: nothing to install, nothing to upload. Check a color pair, convert a code, generate a gradient or a shadow, convert or compress an image, or size type, then copy the result into your CSS.
Find tools by the outcome you need
Pick the result you need and go straight to the strongest tool for it.
Check accessibility
Start with the contrast tools: check a single text and background pair, test every pair in a palette, then fix the ones that fail WCAG AA or AAA before you ship.
Build a color system
Turn one brand color into a working system: generate accessible UI roles, add tints and shades for hover and pressed states, and export the same scale for Tailwind.
Convert CSS units
Convert between px, rem, em, vw and pt at the exact root or parent font size, then replace a stack of media queries with one fluid clamp() value.
Generate UI effects
Generate copy-ready CSS for the visual details: shadows that lift a card, gradients and text fills, frosted glass, loaders and keyframe animation.
Start with your task
Pick the job you need to finish and go straight to the tool that does it.
- Check text contrast
Color contrast checker (WCAG)
Run it before you ship a palette, a button style or a new theme, so body text and interface labels keep a readable contrast ratio against the background you actually picked.
- Fix a failing color pair
WCAG color palette fixer
Use it when a text and background pair fails WCAG, so you can choose AA or AAA, adjust either color and copy the passing hex or CSS values.
- Generate an accessible palette
Accessible color palette generator
Use it when you have one brand HEX and need a small UI palette with background, surface, text, primary and accent roles, plus a WCAG AA pass or fail result for each text and background pair.
- Follow the accessible color workflow
Accessible color workflow
Start here when you need the whole workflow: check one pair or a full palette, fix a failing pair, generate a palette and export the result as CSS.
- Build a palette from an image
Image to color palette extractor
Use it when you have a logo, photo or moodboard and need a small working palette of 5–8 dominant HEX colors, ready to copy or paste into CSS as variables.
- Make tints, shades and tones
Color shades generator
Use it when one brand HEX needs hover, pressed and background variants: generate 10% tints, shades and tones at even steps, then copy a swatch or export the whole set as CSS variables.
- Convert a color code
HEX to RGB converter
Use it when a design file hands you a hex code and your CSS expects rgb() or hsl(), especially for a color that carries an alpha channel.
- Build a gradient
CSS gradient generator
Use it for hero backgrounds, cards and buttons where a flat fill feels too plain, then copy the finished gradient straight into your stylesheet.
- Size fluid type
CSS clamp() font-size calculator
Use it when a heading should grow with the viewport, so one fluid font-size value replaces a stack of media queries.
- Generate placeholder text
Lorem ipsum generator
Use it when a wireframe or mockup needs filler copy at a realistic length, so you can check line breaks and card heights before the real text is written.
- Design a button
CSS button generator
Use it to design a complete button state machine — default, hover, focus-visible, active — with live contrast checks, then copy the CSS or a Tailwind variant straight into your design system.
- Add a shadow
CSS box-shadow generator
Use it to lift a card, modal or button off the page, and keep tuning the blur and offset until the shadow still reads on a light background.
- Convert a color for print
HEX to CMYK converter
Use it when a screen color needs CMYK percentages for a print brief, so you can convert a HEX, rgb() or hsl() value and preview the swatch before copying it.
- Build a Tailwind color scale
Tailwind color palette generator
Use it when a brand gives you one color and your Tailwind theme needs a full 50–950 scale for backgrounds, borders, hover states and text, ready to paste into a v3 config or a v4 @theme block.
- Inline an SVG in CSS
SVG to data URI converter
Use it when an icon, divider or background pattern should live inside your CSS instead of a separate file, so you paste the SVG and copy a data URI or a background-image rule.
- Add a loading spinner
CSS loader generator
Use it when a page or component needs a loading state, then pick a spinner, dots, bars or pulse loader, set the size, colour and speed, and copy the HTML and CSS with a reduced-motion fallback.
- Lay out a grid
CSS grid generator
Use it when a card gallery, dashboard or feature section needs equal columns and rows, then set the gaps, check the live preview and copy the grid-template CSS or Tailwind grid classes.
- Generate CSS for any task
CSS generators (grid, flexbox, shadow, gradient, animation)
Use it when you need CSS written for you: it groups every grid, flexbox, shadow, gradient, clip-path, button, toggle and animation generator by task, with copy-ready output and a comparison table.
Color tools
- Color contrast checker (WCAG)
Test text and background colors against AA and AAA.
Run it before you ship a palette, a button style or a new theme, so body text and interface labels keep a readable contrast ratio against the background you actually picked.
- WCAG color palette fixer
Adjust text or background colors until they pass AA or AAA at your text size.
Use it when a text and background pair fails WCAG, so you can choose AA or AAA, adjust either color and copy the passing hex or CSS values.
- Accessible color palette generator
Turn one brand HEX into background, surface, text, primary and accent roles with WCAG AA pair results.
Use it when you have one brand HEX and need a small UI palette with background, surface, text, primary and accent roles, plus a WCAG AA pass or fail result for each text and background pair.
- Palette accessibility checker
Check every pair in a palette against WCAG AA and AAA text contrast.
Use it when you have a full palette and need to know which pairs are readable, so you paste up to six hex colors and copy the contrast ratio and AA or AAA result for every pair.
- Accessible color workflow
One hub for checking a pair or a palette, fixing failures, generating a palette and exporting CSS.
Start here when you need the whole workflow: check one pair or a full palette, fix a failing pair, generate a palette and export the result as CSS.
- Color blindness simulator
Preview colors, palettes and images as people with color vision deficiency see them.
Use it when you need to see how a color, palette or screenshot looks to people with color vision deficiency, then compare protanopia, deuteranopia, tritanopia and achromatopsia side by side.
- HEX to RGB converter
Convert HEX, RGB and HSL colors, alpha included.
Use it when a design file hands you a hex code and your CSS expects rgb() or hsl(), especially for a color that carries an alpha channel.
- HEX to RGBA converter
Add opacity to any hex color and copy rgba() or 8-digit hex.
Use it when a design hands you a solid hex and you need a see-through version for an overlay, shadow or hover state, as rgba() or an 8-digit hex.
- HEX to OKLCH converter
Convert HEX, RGB or HSL to OKLCH and pick colours with L, C and H sliders.
Use it when you need the oklch() value for a colour, or want to build one from lightness, chroma and hue sliders with an sRGB gamut check.
- Hex opacity chart
Alpha hex codes for every opacity from 0 to 100%.
Use it when you need the two-digit alpha code for a specific opacity, so you can look up the value from 0 to 100% and append it to any hex color.
- RGB to HEX converter
Turn rgb() and rgba() values into HEX codes.
Use it when you are copying a color out of devtools or a stylesheet and need a hex value for a design token, a canvas or a design tool.
- RGBA to HEX converter
Turn rgba() into an 8-digit HEX, or the solid HEX it shows on white or black.
Use it when devtools or a stylesheet gives you an rgba() value and you need the 8-digit HEX for a design token, or the solid HEX it looks like on your background.
- HEX to HSL converter
Convert any HEX color to HSL or HSLA and copy CSS-ready hsl() values.
Use it when a design file hands you a hex code and your CSS expects hsl() or hsla(), so you can paste the code, preview the swatch and copy the HSL value with alpha kept.
- RGB to HSL converter
Turn rgb() and rgba() values into HSL or HSLA with a live preview.
Use it when you have an rgb() or rgba() value from your CSS or a browser inspector and need the matching HSL or HSLA value, with the preview keeping alpha and the result ready to copy.
- HSL to HEX converter
Turn hsl() and hsla() values into HEX codes, alpha kept as 8-digit HEX.
Use it when your CSS or a design token uses hsl() and you need the HEX code for a design tool, a brand guide or a canvas.
- HSL to RGB converter
Turn hsl() and hsla() values into rgb() and rgba() with a live preview.
Use it when your CSS uses hsl() or hsla() and you need the rgb() or rgba() channels for a canvas, a design tool or a color picker that only accepts RGB.
- HEX to HSV converter
Read any HEX color as hue, saturation and value (HSB) for Figma or Photoshop.
Use it when a design file gives you a HEX code and you need hue, saturation and value for Figma, Photoshop or a colour picker that works in HSB.
- HSV to HEX converter
Turn HSV/HSB values into HEX and rgb() with a live preview.
Use it when Photoshop or Figma shows HSB numbers and you need the HEX code or rgb() for CSS, with a live preview and copy button.
- RGB to HSV converter
Convert rgb() colours to hue, saturation and value (HSB).
Use it when you have an rgb() value from CSS or devtools and need hue, saturation and value for a colour picker, shader or design tool.
- HEX to CMYK converter
Turn a HEX code into CMYK print percentages with a live swatch.
Use it when a screen color needs CMYK percentages for a print brief, so you can convert a HEX, rgb() or hsl() value and preview the swatch before copying it.
- CMYK to HEX converter
Turn print CMYK values into HEX and rgb() codes for the web.
Use it when a print brand guide only gives CMYK values and you need the HEX or rgb() code for CSS, Figma or a website.
- Color picker
Drag to pick any colour and copy its HEX, RGB, HSL, OKLCH or CMYK code.
Use it when you need a colour code from scratch: drag to the shade you want and copy HEX, RGB, HSL or OKLCH for CSS, or CMYK for print.
- Color name finder
Find the closest CSS colour name for any HEX, RGB or HSL code.
Use it when you have a HEX, RGB or HSL code and need the CSS colour name that looks like it, so you can copy the closest name and compare the five nearest named colours.
- RGB to CMYK converter
Turn rgb() values into CMYK print percentages with a live swatch.
Use it when a screen colour has to go to print: paste an rgb() value and copy the cyan, magenta, yellow and black percentages for the printer.
- CMYK to RGB converter
Turn print CMYK values into rgb() and HEX codes for screens.
Use it when a printer or brand guide gives CMYK values and you need the rgb() or HEX code for a website, app or design file.
- OKLCH to HEX converter
Turn oklch() and Tailwind v4 colours into HEX and rgb(), with a gamut check.
Use it when your CSS or Tailwind v4 theme uses oklch() and a tool, older browser or handoff needs the HEX or rgb() equivalent, with a gamut check.
- Color code converters (HEX, RGB, HSL, CMYK, OKLCH)
Every color converter in one place: HEX, RGB, RGBA, HSL, CMYK and OKLCH, with alpha kept and CSS-ready output.
Use it when you are not sure which converter you need: it lists every HEX, RGB, RGBA, HSL, CMYK and OKLCH converter, compares the formats side by side and links straight to the right tool.
- Color shades generator
Get 10% tints, shades and tones of any color and copy them as CSS.
Use it when one brand HEX needs hover, pressed and background variants: generate 10% tints, shades and tones at even steps, then copy a swatch or export the whole set as CSS variables.
- Color wheel & complementary color generator
Find complementary, analogous, triadic and tetradic colors for any HEX.
Use it when you are choosing an accent or CTA color that has to pair with an existing brand color, then read the complementary, analogous, triadic and tetradic matches and copy the HEX.
- Tailwind color palette generator
Turn one HEX into a 50–950 shade scale for Tailwind v3 or v4.
Use it when a brand gives you one color and your Tailwind theme needs a full 50–950 scale for backgrounds, borders, hover states and text, ready to paste into a v3 config or a v4 @theme block.
Image tools
- Image color picker
Pick HEX/RGB colors from screenshots and design references.
Use it when you want the exact color of a button, background or logo from a screenshot and need the hex or rgb value to reproduce it.
- Image to color palette extractor
Extract 5–8 dominant HEX colors from an image and copy them as CSS variables.
Use it when you have a logo, photo or moodboard and need a small working palette of 5–8 dominant HEX colors, ready to copy or paste into CSS as variables.
CSS generators
- CSS box-shadow generator
Design card and button shadows with a live preview.
Use it to lift a card, modal or button off the page, and keep tuning the blur and offset until the shadow still reads on a light background.
- CSS text-shadow generator
Stack typography shadows with headline previews on light and dark backgrounds.
Use it to add depth, neon glow or letterpress embossing to titles and paragraphs, then check legibility across light and dark backgrounds and copy the CSS.
- CSS border radius generator
Round each corner with per-corner sliders, elliptical mode and linked corners.
Use it to round cards, buttons and badges one corner at a time, then copy the per-corner or elliptical border-radius straight into your stylesheet.
- CSS triangle generator
Make up, down, left, right and corner triangles and copy the CSS.
Use it when a tooltip, dropdown or callout needs a small arrow, then pick a direction, size and colour and copy the border trick or clip-path CSS.
- CSS glassmorphism generator
Design frosted glass cards with blur, opacity, tint and saturation controls.
Use it for frosted cards, navbars and modals that sit over a photo or gradient, then tune the blur and opacity until the text on the glass stays readable and copy the backdrop-filter CSS.
- CSS neumorphism generator
Design soft UI surfaces with one base colour and two offset box-shadows.
Use it when a card, toggle or keypad should look pressed out of the same material as the page, then tune the distance and intensity until the shadow pair still reads at your base colour and copy the CSS.
- SVG wave divider generator
Build a smooth cubic-bezier wave divider with a live full-width preview and copyable SVG.
Use it when two sections need a soft curved edge between them instead of a hard line, then tune the wave shape and copy the inline SVG or a CSS background-image data URI to drop into your layout.
- CSS cubic-bezier easing generator
Design custom easing curves with a live SVG editor, draggable handles and presets.
Use it when a transition needs a custom feel that the browser keywords cannot give — overshoot, asymmetric acceleration, or a brand-specific motion curve — then copy the cubic-bezier() value or a ready-to-paste transition declaration.
- CSS animation keyframes generator
Set duration, easing and editable keyframe stops, preview the motion and copy @keyframes CSS.
Use it when an element needs a looping or one-shot animation with several stages, then edit the keyframe stops, tune the timing and copy the @keyframes CSS straight into your stylesheet.
- CSS loader generator
Build a spinner, dots, bars or progress loader and copy accessible HTML and CSS.
Use it when a page or component needs a loading state, then pick a spinner, dots, bars or pulse loader, set the size, colour and speed, and copy the HTML and CSS with a reduced-motion fallback.
- CSS scrollbar generator
Style the scrollbar thumb, track, width and hover colour and copy cross-browser CSS.
Use it when a sidebar, chat panel or code block scrolls and the default grey bar clashes with your theme, then pick the colours and width and copy CSS that covers Chrome, Firefox and Safari.
- CSS media query generator
Build min-width, max-width, range and reduced-motion queries with a live preview and copyable CSS.
Use it when a layout needs to change at a specific viewport width, then pick min-width, max-width or a range, check the matched and unmatched preview and copy the base rule plus the @media block.
- CSS button generator
Design buttons with live default, hover, and focus-visible states. Control colors, padding, radius, shadow, transition — copy CSS or Tailwind.
Use it to design a complete button state machine — default, hover, focus-visible, active — with live contrast checks, then copy the CSS or a Tailwind variant straight into your design system.
- CSS toggle switch generator
Style an accessible on/off switch with live preview and copy the HTML and CSS.
Use it when a settings panel or form needs an on/off control, then set the track size, colours, radius and speed, check the live switch and copy accessible HTML and CSS that works without JavaScript.
- CSS grid generator
Set columns, rows and gaps with a live preview and copy grid CSS or Tailwind.
Use it when a card gallery, dashboard or feature section needs equal columns and rows, then set the gaps, check the live preview and copy the grid-template CSS or Tailwind grid classes.
- CSS flexbox generator
Build flex layouts visually and copy CSS or Tailwind.
Use it when a nav bar, button group or card row needs to flex or wrap based on viewport width, then set direction, wrap and gap, check the live preview and copy the flexbox CSS or Tailwind classes.
- CSS filter generator
Tune blur, contrast, sepia and more with live sliders and copy the filter CSS.
Use it when an image, icon or card needs a colour or blur treatment, then drag the sliders, check the live preview and copy the filter CSS or the Tailwind arbitrary class.
- CSS clip-path generator
Drag points or pick a preset shape and copy polygon, circle or inset clip-path CSS.
Use it when a hero edge, image or badge needs a non-rectangular shape, then drag the points on the live preview and copy the clip-path CSS or Tailwind class.
- CSS gradient generator
Build linear and radial gradients with a live card and button preview.
Use it for hero backgrounds, cards and buttons where a flat fill feels too plain, then copy the finished gradient straight into your stylesheet.
- CSS background pattern generator
Make polka dot, stripe, grid and checkerboard backgrounds from pure CSS and copy the code.
Use it when a hero, card or section background needs texture without an image file, then pick dots, stripes or a grid, tune the size and colours and copy the CSS or Tailwind class.
- CSS text gradient generator
Fill headings with a gradient using background-clip: text and copy CSS with a solid-color fallback.
Use it when a heading, logo or accent word needs a gradient fill, then pick the colors and direction, check the preview and copy the background-clip: text CSS with a solid-color fallback.
- CSS generators (grid, flexbox, shadow, gradient, animation)
Every CSS generator in one place: layout, effects, shapes, backgrounds, controls and animation, with copy-ready CSS output.
Use it when you need CSS written for you: it groups every grid, flexbox, shadow, gradient, clip-path, button, toggle and animation generator by task, with copy-ready output and a comparison table.
Image & SVG tools
- SVG to data URI converter
Turn SVG code into a URL-encoded or base64 data URI and a CSS background-image rule.
Use it when an icon, divider or background pattern should live inside your CSS instead of a separate file, so you paste the SVG and copy a data URI or a background-image rule.
- Favicon and app icon generator
Make icons from text, an emoji or an image and download every PNG size plus an SVG in one ZIP.
Use it when a new site or app needs its icons, so you can start from text, an emoji or an image and download every PNG size plus an SVG in one ZIP.
Typography & units
- CSS clamp() font-size calculator
Fluid type that scales between two screen widths.
Use it when a heading should grow with the viewport, so one fluid font-size value replaces a stack of media queries.
- Type scale generator
Build a modular font-size scale from a base size and ratio and copy CSS variables or Tailwind.
Use it when a design needs a consistent set of font sizes, so you pick a base size and ratio, preview every step and copy the scale as CSS variables or a Tailwind config.
- PX to REM converter
Convert pixels to rem (and back) at any root font size.
Use it when a static px size has to become rem, so the spacing and type still follow the font size a visitor set in the browser.
- REM to PX converter
Convert rem values back to pixels at any root font size.
Use it when a design file or audit gives sizes in rem and you need the pixel value to compare against a mockup or a screenshot.
- PX to EM converter
Convert pixels to em (and back) at any parent font size.
Use it when a fixed px value in a mockup should scale with its component's own font size, so the padding and icons stay in proportion.
- EM to PX converter
Convert em values back to pixels at any parent font size.
Use it when a component sets padding, icons or text in em and you need the pixel value it renders at under its real parent font size.
- PX to VW converter
Convert pixels to viewport width units (and back) at any screen width.
Use it when a hero heading or full-bleed spacing should scale with screen width, so you turn a desktop px value into vw for a chosen viewport.
- VW to PX converter
Convert viewport-width units back to pixels at any screen size.
Use it when a stylesheet sizes a hero, gap or font in vw and you need the real pixel value at a given screen width to match a mockup.
- PT to PX converter
Convert points to pixels (and back) at the fixed 96 dpi CSS ratio.
Use it when a print or typography spec gives font sizes in points, so you convert pt to px at the 96 dpi CSS ratio and copy the CSS.
- Font pairing finder
Preview real website font combinations and copy the CSS font-family declarations.
Use it when you need a heading and body combination for a new interface, then preview your own copy and copy the CSS declarations.
- Lorem ipsum generator
Generate placeholder paragraphs, sentences, words or list items as text or HTML.
Use it when a wireframe or mockup needs filler copy at a realistic length, so you can check line breaks and card heights before the real text is written.
- Aspect ratio calculator
Simplify any size to 16:9, 4:3 or 1:1 and copy the CSS.
Use it when a video, image card or hero has to keep its shape, so you get the matching height and a copy-ready aspect-ratio value.
More free tools
- Meta tag generator
Write title and description tags, preview Google and social results and copy the HTML head block.
Use it when a page needs its title and description written, so you can check the character limits, see the Google and social previews and copy a ready-to-paste HTML head block.
Pair the tools with real references
The tools give you the values; these pages show the colors, type and sections that real sites use, so you can check a result against something already shipped.
Common questions
- How do I check if text has enough contrast?
- Open the color contrast checker, enter the text and background colors, and it shows the WCAG AA and AAA result for normal and large text. Open the contrast checker
- How do I convert a HEX color to RGB?
- Use the HEX to RGB converter to turn a hex code into rgb() or hsl(), including colors that carry an alpha channel. For CMYK, OKLCH or HSL, the color converters page lists every format side by side. Open the HEX to RGB converter
- How do I build a CSS gradient?
- Open the gradient generator, set the colors and direction, preview it on a card and button, then copy the finished gradient CSS. Open the gradient generator
- How do I make font size scale with the screen?
- Use the clamp() font-size calculator to set a minimum and maximum size and the screen widths they apply to, then copy one fluid font-size value. Open the clamp() calculator
- How do I convert a HEX color to CMYK for print?
- Paste the HEX code into the HEX to CMYK converter to get cyan, magenta, yellow and black percentages for a print handoff; ask your printer for their exact profile before a final run. Open the HEX to CMYK converter
- How do I use an SVG as a CSS background image?
- Paste the SVG markup into the SVG to data URI converter and copy the url("data:image/svg+xml,...") value or the ready background-image rule into your stylesheet. Open the SVG to data URI converter
- How do I check accessibility of a whole color palette?
- Paste up to six hex colors into the palette accessibility checker and it returns the contrast ratio plus the AA or AAA result for every text and background pair, so you see which combinations to keep and which to fix. Open the palette accessibility checker
- How do I build a color system from one brand color?
- Enter your brand HEX in the accessible palette generator to get background, surface, text, primary and accent roles with WCAG pair results, then use the color shades generator for hover and pressed variants and the Tailwind color generator for a 50–950 scale. Open the accessible palette generator
- How do I convert px to rem in CSS?
- Divide the pixel value by the root font size: at the browser default of 16px, 24px is 1.5rem. The px to rem converter does it at any root size, and the em, vw and pt converters cover the other units. Open the px to rem converter
- How do I generate CSS UI effects like shadows and gradients?
- Use the box-shadow generator for cards and buttons, the gradient generator for backgrounds and the text gradient generator for headings. Each one previews the effect and copies ready-to-paste CSS. Open the box-shadow generator
- Do these tools upload my colors or files?
- No. Every tool runs in your browser, so the colors, SVG code and images you enter stay on your device, and there is nothing to install or sign up for.