NexTool
ToolsConvertersBlogAI SuitePricing
HomeCheat SheetsWeb Color Codes & Names Cheat Sheet
developer5 sections · 39 items

Web Color Codes & Names Cheat Sheet

Complete reference for CSS named colors, HEX codes, RGB values, and HSL notation. Includes popular palettes and color format conversions.

CSS Named Colors (Most Used)

ItemValueNotes
black#000000 / rgb(0,0,0)--
white#FFFFFF / rgb(255,255,255)--
red#FF0000 / rgb(255,0,0)--
green#008000 / rgb(0,128,0)--
blue#0000FF / rgb(0,0,255)--
yellow#FFFF00 / rgb(255,255,0)--
orange#FFA500 / rgb(255,165,0)--
purple#800080 / rgb(128,0,128)--
gray#808080 / rgb(128,128,128)--
transparentrgba(0,0,0,0)Fully transparent

Popular UI Colors

ItemValueNotes
Tailwind Blue 500#3B82F6Primary button
Tailwind Green 500#22C55ESuccess
Tailwind Red 500#EF4444Error / danger
Tailwind Yellow 500#EAB308Warning
Tailwind Gray 100#F3F4F6Light background
Tailwind Gray 900#111827Dark text
Bootstrap Primary#0D6EFD--
Bootstrap Danger#DC3545--
Material Blue#2196F3--
Material Teal#009688--

Color Format Conversions

ItemValueNotes
HEX to RGBSplit into pairs: #FF6633 -> R:255 G:102 B:51--
RGB to HEXConvert each 0-255 to hex: 255 -> FF--
HSL formathsl(hue, saturation%, lightness%)hsl(0, 100%, 50%) = red
HSLA formathsla(hue, sat%, light%, alpha)Alpha: 0-1
RGBA formatrgba(red, green, blue, alpha)Alpha: 0-1
HEX with alpha#RRGGBBAA#FF000080 = 50% red

Grayscale Ramp

ItemValueNotes
White#FFFFFF / rgb(255,255,255)--
Light Gray#D3D3D3 / rgb(211,211,211)--
Silver#C0C0C0 / rgb(192,192,192)--
Gray#808080 / rgb(128,128,128)--
Dim Gray#696969 / rgb(105,105,105)--
Dark Gray#A9A9A9 / rgb(169,169,169)--
Charcoal#333333 / rgb(51,51,51)--
Black#000000 / rgb(0,0,0)--

CSS Color Functions (Modern)

ItemValueNotes
color-mix()color-mix(in srgb, red, blue)Mix two colors
oklch()oklch(lightness chroma hue)Perceptual uniformity
lch()lch(lightness chroma hue)CIE LCH color space
lab()lab(lightness a b)CIE Lab color space
currentColorInherits the current text colorUseful for SVG icons

Tip: Use landscape orientation for wider tables

Related Tools

CSS Unit Converter

Convert between px, rem, em, pt, and other CSS units

Stay Updated

Get notified about new tools, features, and exclusive deals. No spam, ever.

Browse All Cheat Sheets →
NexTool

Free online tools for developers, writers, and creators. Powered by AI.

Tools

  • Finance & Tax
  • Investment & Retirement
  • Insurance
  • Real Estate
  • Health & Fitness
  • Home & DIY
  • Developer Tools
  • AI Tools
  • All Tools

Resources

  • Blog
  • Unit Conversions
  • All Tools

Company

  • About
  • Pricing
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 NexTool. All rights reserved.

Fine Print Decoder™ and all AI analysis tools are proprietary technology of NexTool.

Made with care for the internet