Skip to content

Colors

Free Yourself from Color Selection and Focus on Development 🎨✨

In UI design, choosing the right color can be a major challenge. Constantly looking up color codes or making fine adjustments for light/dark modes can significantly reduce development efficiency.

That’s where this page comes in! Here, we’ll introduce how to free yourself from the hassle of defining colors by leveraging an existing color palette. Based on a component-oriented design that uses simple Props and Children, you can intuitively and quickly select colors—allowing you to focus your resources on the “feature implementation” you really want to work on.

A Handy Color Swatch Tool at a Glance 🖌️

Below is a list of “color swatches” utilizing the <color-palette> custom component. This component displays colors for different themes—like light and dark—all in one place, with a wide range of predefined variations. No more saying, “I wish this blue was a bit darker!”—you can quickly find a perfect color for your needs!

Color NameLight ModeBasic ModeDark ModeUsage Examples
blackText, Icons
silverSubtext, Borders
grayBackground, Cards
whiteBackground, Cards, Text
maroonAction Buttons, Links
redError Messages, Alerts
purpleHighlights, Emphasis
fuchsiaFocus Rings, Active States
greenSuccess Messages, Approval Buttons
limeGrowth Indicators, Progress Bars
oliveBackgrounds, Section Dividers
yellowWarnings, Attention Alerts
navyHeaders, Navigation
blueLinks, Action Buttons
tealInformation, Tooltips
aquaHighlights, Accent Colors

This palette is designed around unified naming conventions for CSS variables and automatic theme switching. Simply hover (or tap) to see the CSS variable name, copy & paste it, and you can immediately apply that color to any component.

Why Is This Palette So Effective? 🏆

Simple Naming Convention

For example, variable names like —light-basic-blue or —dark-basic-blue make it clear whether they’re for light or dark mode. Developers can quickly grasp the intended usage without confusion.

Accessibility Focus

The palette ensures a contrast ratio of at least 4.5:1 based on WCAG standards. It maintains high visibility across different modes, resulting in a “Win-Win”: users enjoy better readability, and developers save time by not having to fiddle with color choices.

A Single Contrast Benchmark 🔍

We offer a tool to check the contrast of colors from our palette. Even during development, it allows you to preview color contrast and easily confirm whether it meets proper contrast requirements.

Contrast Check Tool

Screenshot of the contrast check tool

You can check color combinations and see if there are any issues to fix.

Try the Contrast Checker

Customization Tool

Screenshot of the customization tool

You can also customize combinations from the color palette and see exactly where adjustments may be needed.

Customize Here

Example Colors for Dark Mode

  • --dark-basic-blue: #4d4dff A deep blue that remains clearly visible on a dark background
  • --dark-basic-white: #f0f0f0 A slightly grayish white that’s easy on the eyes, even in dark mode

By calling these variables, the system automatically applies the appropriate color when switching modes. You no longer need to waste time making mode-specific tweaks or rewriting color codes!

In this design system, choosing a color from the palette is your first step to solving color-related concerns at once. All that’s left is to focus on your core development tasks. The <color-palette> component will be a dependable starting point for managing color usage smartly and intuitively across your project.