codipry.

Keyboard shortcuts

Use Ctrl on Windows/Linux or Command on macOS. Shortcuts respect focused text fields.

Ctrl/⌘ K
Open or close tool search
?
Open this reference outside text inputs
Escape
Close the active dialog
Ctrl/⌘ S
Save the current Playground project
Ctrl/⌘ Enter
Run the Playground preview
Tab
Move between controls; inside code typing, insert two spaces
Shift Tab
Move to the previous control

Monaco also provides its own command palette. Browser and operating-system shortcuts can take priority.

Start creating
Frontend PlaygroundcodeResponsive LabcodeGradient GeneratordesignBox Shadow GeneratordesignText Shadow GeneratordesignBorder Radius GeneratordesignFlexbox GeneratordesignCSS Grid GeneratordesignAnimation GeneratordesignGlassmorphism GeneratordesignClip Path GeneratordesignFluid Type GeneratordesignColor StudiodesignGit Command BuildergitGit VisualizergitMerge vs. RebasegitSQL Joins VisualizerdatabaseSQL Clause ExplorerdatabaseDatabase RelationshipsdatabaseSQL FormatterdatabaseSQL PlaygrounddatabaseTyping TestpracticeCode Typing TestpracticeJSON FormattercodeCSV / JSON ConvertercodeText DiffcodeRegex TestercodeEncoding ToolscodeHash GeneratorcodeTimestamp ConvertercodeCSS Transform GeneratordesignCSS Filter GeneratordesignDesign Token ExporterdesignGit Conflict TrainergitSQL Schema Explorerdatabase
Design / CSS Studio

Color Studio

Convert colors, build a palette, and check readable contrast ratios.

Opening CSS Studio…

How to use Color Studio

Color Studio converts an opaque sRGB color into HEX, RGB, HSL and OKLCH, then checks its luminance contrast against a chosen background.

  1. Enter a 3- or 6-digit HEX color, integer-channel RGB, HSL with percentage saturation/lightness, or OKLCH with lightness from 0 to 1.
  2. Choose the background used by the contrast calculation. A ratio of 4.5:1 meets WCAG AA for normal text; 3:1 can meet AA for large text.
  3. Use the five-color HSL lightness palette as a starting point. Check each chosen foreground/background pair separately; a palette alone does not guarantee accessibility.

A practical starting point

Dark teal on white provides a stronger text contrast than a pale accent of the same hue.

color: #0d635c;
background: #ffffff;

Common mistakes

  • HSL lightness is not perceptual luminance. Two hues at the same HSL lightness can have very different contrast.
  • OKLCH can represent colors outside sRGB. This tool clips channels when converting to its opaque sRGB working space.

Frequently asked questions

Does the contrast calculation handle transparency?

No. Inputs are opaque. Composite a translucent color against its actual background first, then check the resulting color.