Scroll for details

Graphite

Hex Color

Graphite Color Values & Conversions

HEX

#281810

RGB

rgb(40, 24, 16)

HSL

hsl(20°, 43%, 11%)

CMYK

cmyk(0%, 40%, 60%, 84%)

Code Snippets

CSS Click to copy
background-color: #281810;
Tailwind CSS Click to copy
className="bg-[#281810]"
SCSS Variable Click to copy
$primary-color: #281810;
JavaScript Click to copy
const color = '#281810';
Flutter Click to copy
Color(0xFF281810)
Swift (UIKit) Click to copy
UIColor(hex: "#281810")
Swift (SwiftUI) Click to copy
Color(hex: "#281810")
Android (Kotlin) Click to copy
Color.parseColor("#281810")

Accessibility (WCAG)

On White Background PASS

17.09

AAA Normal Text

On Black Background FAIL

1.22

Fails WCAG

Shades & Tints

Frequently Asked Questions About Graphite

What is the RGB for Graphite?

The RGB value for Graphite is 40, 24, 16. In CSS, you can use it as rgb(40, 24, 16) or the hex code #281810.

What is the Hex code for Graphite?

The Hex code for Graphite is #281810. Hex codes are widely used in web design and are the most common way to represent colors in HTML and CSS.

How to convert Graphite RGB to CMYK?

The CMYK value for Graphite (RGB 40, 24, 16) is 0, 40, 60, 84. This conversion is essential when preparing designs for print, as printers use CMYK ink instead of RGB light.

What is the HSL value for Graphite?

The HSL value for Graphite is 20°, 43%, 11%. HSL (Hue, Saturation, Lightness) is often more intuitive for designers as it represents colors in a way that's closer to human perception.

What does RGB stand for?

RGB stands for Red, Green, and Blue. It's an additive color model used in digital displays where colors are created by combining different intensities of red, green, and blue light. The color Graphite (#281810) is composed of RGB values: 40, 24, 16, where each value ranges from 0 to 255, representing the intensity of each color channel.

What is the difference between RGB and CMYK?

RGB is an additive color model used for digital screens (monitors, TVs, smartphones), where colors are created by adding light. CMYK (Cyan, Magenta, Yellow, Key/Black) is a subtractive color model used for printing, where colors are created by absorbing light with ink.

For printing Graphite, you should use the CMYK value (0, 40, 60, 84) instead of RGB (40, 24, 16) to ensure color accuracy. RGB colors may appear different when printed because screens emit light while paper reflects it.

When should I use RGB vs CMYK?

Use RGB for:
  • • Website design
  • • Digital graphics
  • • Social media images
  • • Screen presentations
  • • Mobile apps
Use CMYK for:
  • • Print materials
  • • Business cards
  • • Brochures & flyers
  • • Magazines
  • • Product packaging

Related Colors & Complementary Palette

Complementary Color

The complementary color sits opposite on the color wheel and creates maximum contrast.

#102028

Click to view details

Analogous Colors

Colors adjacent on the color wheel that create harmonious combinations.

Triadic Colors

Three colors evenly spaced on the color wheel for vibrant, balanced palettes.

© 2025 ViewRGB.com - The fastest way to view any color

Made with ❤️ for designers and developers