Gradient Page

#181818

#181818 is the HEX color code for
Cod Gray
#181818

Cod Gray

Contrast
Dark
Luminance
9%
Color Conversions
Formats for Cod Gray (#181818) in various color spaces.
#181818
24, 24, 24
0°, 0%, 9%
0%, 0%, 0%, 91%
0.209, 0, 89.9
--color-cod-gray: #181818;

Shades & Tints

#f2f2f2
#d9d9d9
#bfbfbf
#a6a6a6
#8c8c8c
#737373
#595959
#404040
#262626
#0d0d0d
DarkestBaseLightest

Color Harmonies

Complementary

#181818
#171717

Analogous

#171717
#181818
#171717

Triadic

#181818
#171717
#171717

Split Complementary

#181818
#171717
#171717

UI Component Examples

See how #181818 looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Cod Gray Base */
  --color-primary: #181818;
  --color-primary-rgb: 24 24 24;
  --color-primary-hsl: 0 0% 9%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f2f2f2;
  --color-primary-100: #d9d9d9;
  --color-primary-200: #bfbfbf;
  --color-primary-300: #a6a6a6;
  --color-primary-400: #8c8c8c;
  --color-primary-500: #737373;
  --color-primary-600: #595959;
  --color-primary-700: #404040;
  --color-primary-800: #262626;
  --color-primary-900: #0d0d0d;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#181818 Hex Color | Cod Gray sl | UI Color Scheme Generator