Color encyclopedia

#1f1f1f Color Information

In a RGB color space, #1f1f1f hex color is composed of 12.2% red, 12.2% green and 12.2% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 0% magenta, 0% yellow and 87.8% black. It has a hue angle of 0 degrees, a saturation of 0% and a lightness of 12.2%. #1f1f1f color hex could be obtained by blending #3e3e3e with #000000 . Closest websafe color is: #333333 .


#1f1f1f Color Conversion

The hexadecimal color #1f1f1f has RGB values of R:31, G:31, B:31 and CMYK values of C:0, M:0, Y:0, K:0.88. Its decimal value is 2039583.

Hex triplet 1f1f1f #1f1f1f
RGB Decimal 31, 31, 31 rgb(31,31,31)
RGB Percent 12.2, 12.2, 12.2 rgb(12.2%,12.2%,12.2%)
CMYK 0, 0, 0, 87.8
HSL 0°, 0, 12.2 hsl(0,0%,12.2%)
HSV(HSB) 0°, 0, 12.2
Web Safe 333333 #333
XYZ 1.302, 1.37, 1.492
xyY 0.313, 0.329, 1.37
CIE-LAB 11.758, 0.001, -0.002
CIE-LCH 11.758, 0.003, 296.813
CIE-LUV 11.758, 0, -0.002
Hunter-Lab 11.706, -0.625, 0.636
Binary 00011111, 00011111, 00011111

#1f1f1f Color Analysis

R-G-B component

Color Schemes with #1f1f1f

Alternatives to #1f1f1f

Below, you can see some colors close to #1f1f1f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

#1f1f1f Preview

Text with hexadecimal color #1f1f1f

This text has a font color of #1f1f1f.

<span style="color:#1f1f1f">Text here</span>
#1f1f1f background color

This paragraph has a background color of #1f1f1f.

<p style="background-color:#1f1f1f;">Content here</p>
#1f1f1f border color

This element has a border color of #1f1f1f.

<div style="border:1px #1f1f1f;">Content here</div>
CSS codes
.text {color:#1f1f1f;}
.background {background-color:#1f1f1f;}
.border {border:1px solid #1f1f1f;}
.text-shadow {border:1px solid #1f1f1f;}

Shades and Tints of #1f1f1f

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #0a0a0a is the darkest color, while #fefefe is the lightest one.

Tones of #1f1f1f

A tone is produced by adding gray to any pure hue. In this case, #1f1f1f is the less saturated color, while #3b0303 is the most saturated one.