Favorite places of your favorite city
Home
Add to preferred sources on Google

Random Color Generator

Draw one color or a set of swatches for a design. Keep your favorites while you try new colors.

Color settings

Reducing the count removes the last slots and their pins.

Enter 3 or 6 hex digits, with or without #.

Generated colors

Generate colors to see swatches and their contrast against the background.

Colors are generated in this page. Settings, pins and swatches clear on reload.

Compare two colors in the Color Contrast Checker

Generate and keep colors

  1. Choose how many swatches you want and enter a background color.
  2. Turn on the contrast filter to draw colors that reach 4.5:1 against that background.
  3. Generate, pin colors you like and copy the swatches you want to use.

Work with a fixed background

A pin keeps a swatch in the same slot on the next draw.

Changing the background updates the contrast of each existing swatch.

If a pinned color fails the filter, you can change the background or unpin the color and draw a replacement.

Example

The color #767676 reaches about 4.54:1 against white, enough for the normal-text threshold.

A black swatch reaches 21:1 on white, and 1:1 when the background is black.

What the result measures

The ratio compares an opaque swatch with your selected opaque background.

Check actual foreground and background colors in your design, including states that change either color.

Local color generation

Your settings and swatches stay in this page and clear on reload.

Random color questions

It copies --reference for the background and --color-1 onward for the swatches, in their displayed order.

With the filter on, every swatch has to reach 4.5:1 against the current background. You can copy any individual hex value.

Yes. For example, #abc is expanded to #AABBCC.

Pins are kept while you work on the page. Copy CSS to keep the colors you chose.

Sources and method

The ratio measures two opaque colors. Check the colors in their actual design context.

CSS Filter Generator

Order and repeat CSS effects, compare a specimen and copy the exact filter declaration.

Open tool — CSS Filter Generator

Fluid Font Size Calculator

Create root-relative CSS from viewport endpoints and inspect the copied size model.

Open tool — Fluid Font Size Calculator

CSS Button Generator

Style native button states, inspect keyboard focus and copy HTML and CSS.

Open tool — CSS Button Generator

CSS Border Generator

Create borders with independent styles, widths, colors and opacity on all four sides.

Open tool — CSS Border Generator

npm Version Range Tester

Test a list of versions against one npm range, or compare which versions two ranges allow.

Open tool — npm Version Range Tester

CSS Specificity Calculator

Compare CSS selector scores and see which parts contribute to each tuple.

Open tool — CSS Specificity Calculator

CSS Background Pattern Generator

Create editable stripes, grids, dots and checkerboards. Preview colors and transparency locally, then copy the current CSS declarations.

Open tool — CSS Background Pattern Generator

CSS Clip Path Generator

Edit polygon points and basic shapes, preview the clipping and copy CSS.

Open tool — CSS Clip Path Generator

CSS Border Radius Generator

Edit eight corner radii, preview a box and copy CSS in pixels or percentages.

Open tool — CSS Border Radius Generator

CSS Grid Generator

Build a bounded CSS Grid example with editable tracks, placement and named areas. Preview it, copy CSS or HTML and download the same standalone example.

Open tool — CSS Grid Generator

CSS Flexbox Generator

Build a Flexbox example with container and item controls, explicit layout axes, matching CSS and HTML, and a local complete-example download.

Open tool — CSS Flexbox Generator

CSS Text Shadow Generator

Build ordered text shadows, preview plain text and copy exact CSS.

Open tool — CSS Text Shadow Generator

CSS Transform Generator

Compose repeatable 2D CSS transforms, edit px or percentage translation and origin, inspect a reference box and copy the exact current declarations.

Open tool — CSS Transform Generator

CSS Cubic Bezier Generator

Edit CSS cubic-bezier curves with coordinates, visual handles and presets. Inspect overshoot, run a deliberate comparison with linear motion, and copy easing CSS.

Open tool — CSS Cubic Bezier Generator

CSS Box Shadow Generator

Create ordered CSS box-shadow layers with a live preview and copyable code.

Open tool — CSS Box Shadow Generator

HTML to Markdown

Convert pasted or local HTML into Markdown, review conversion notes, and copy or download the result.

Open tool — HTML to Markdown

JavaScript Regex Tester

Test a JavaScript pattern locally and inspect matches, captures, and UTF-16 positions.

Open tool — JavaScript Regex Tester

Markdown Link Extractor

List Markdown links and copy their destinations.

Open tool — Markdown Link Extractor

Markdown Outline Extractor

Find Markdown headings, check their source lines and copy an indented outline.

Open tool — Markdown Outline Extractor

Markdown to HTML

Convert a Markdown draft to an HTML fragment, inspect the source and inert preview, then copy or download it.

Open tool — Markdown to HTML

CSS Gradient Generator

Create linear or radial CSS gradients with editable colors, opacity and stops.

Open tool — CSS Gradient Generator

Color Converter

Convert supported sRGB HEX, RGB and HSL literals with alpha, explicit precision and current code Copy.

Open tool — Color Converter

HTML Entity Encoder/Decoder

Encode or decode literal HTML references with explicit context, Unicode options and LF output, without parsing or rendering markup.

Open tool — HTML Entity Encoder/Decoder

Markdown Table Generator

Edit a small literal-text table, set alignment and copy GFM Markdown or import tab-separated text.

Open tool — Markdown Table Generator
View all tools in this category