HTML color codes for dark gray - hexadecimal + RGB

Discover all HTML codes for the color dark gray - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of dark gray color.

#2e2e2e

códigos del color dark gray

Complementary color of dark gray:

The complementary color of a color is the opposite of it on the color wheel (chromatic circle)

#2e2e2e

Monochromatic scheme of the color dark gray

#000000
#121212
#1d1d1d
#282828
#3b3b3b
#565656
#737373
#919191

This scheme is based on the color dark gray and is composed of different hues, tones, and shades, both dark and light.

HTML and CSS codes for the color dark gray

formatcode
hex#2e2e2e
rgbrgb(46,46,46)
hslhsl(0,0%,19%)
cmykcmyk(0, 0, 0, 82)
hsvhsv(0, 0%, 19%)

What is the dark gray color in RGB format?

The dark gray color in RGB format is composed of (46 in the red channel), (46 in the green channel), and (46 in the blue channel).

What is the dark gray color in CMYK format?

It is composed of (0%) cyan, (0%) magenta, (0%) yellow, and (82%) black / key.

What is the composition of the dark gray color in HSL?

It is composed of (NaN°) hue, (0%) saturation, and (19%) lightness.

What is the dark gray color in HSV format?

The dark gray color in HSV format is composed of (NaN°) hue, (0%) saturation, and (19%) value.

Analogous scheme of the color dark gray

Analogous colors are obtained from the two closest colors within the color wheel.

#303030
#303030
#303030

Triadic scheme of the color dark gray

The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel

#2e2e2e
#2e2e2e
#2e2e2e

Tetradic scheme of the color dark gray

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#2e2e2e
#2e2e2e
#2e2e2e
#2e2e2e

Split complementary scheme of the color dark gray

This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.

#2e2e2e
#2e2e2e
#2e2e2e

Tints of the color dark gray

Tints are obtained from the base color dark gray up to reaching white, finding in between shades of pastel colors.

#2e2e2e
#585858
#828282
#ababab
#d5d5d5
#ffffff

Shades of the color dark gray

These shades are obtained from the base color dark gray up to reaching black.

#2e2e2e
#252525
#1c1c1c
#121212
#090909
#000000

Check the contrast of the color dark gray.

You can now validate the contrast relationship of the color dark gray, whether using it as a background color or as a text color.

Change the text color.
Contrast ratio: 13.58

Contrast ratio test of the color dark gray as a background

Change the background color
Contrast ratio: 1.15

Contrast ratio test of the color dark gray as text.

How to implement the color dark gray in HTML and CSS

Here are examples of code to use the dark gray on your web page. Remember that you can implement the color in HTML using color codes such as hexadecimal, RGB, or HSL, and also directly with the color name written in English (as long as it is natively supported by HTML).

Background color dark gray in HTML - CSS.

To set the background color, you can use inline styles or apply them in a CSS stylesheet

<div style="background:#2e2e2e;"> Color dark gray as the background of a div.</div>
/* Color dark gray as the background of the body tag with CSS. */
body {
background: #2e2e2e;
}

To set the text color dark gray in HTML - CSS.

To set the text color, you can use inline styles or apply them in a CSS stylesheet.

<p style="color:#2e2e2e;"> Color dark gray as the text color.</p>
p {
color:#2e2e2e ;
}

Here are more colors with all their codes