Color: #31302D
#31302D Color Information
#31302D is a dark color. The closest websafe version is #31302D. A complement of this color would be #2C2D30, perceived brightness is 0.19, and the grayscale version is #2F2F2F.
In the HSL color space, this color has a hue angle of 45°,a saturation of 4%, and a lightness of 18%.The HSV representation shows a hue of 45°, a saturation of 100%, and a value of 100%.
In a RGB color space, #31302D is composed of 19% red, 19% green and 18% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 2% magenta, 8% yellow and 81% black.
In the Yxy color space, this color is represented as Y: 2.96, x: 0.3558, and y: 0.3695.
Color Code #31302D
Shades of Color #31302D
Shades are created by darkening the original color #31302D in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.
Tints of Color #31302D
Tints are created by lightening the original color #31302D in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.
About #31302D Color Code
In the HSL color space, this color has a hue angle of 45°, a saturation of 4%, and a lightness of 18%. The HSV representation shows a hue of 45°, a saturation of 8%, and a value of 19%.
- HEX: #31302D
- RGB: rgb(49, 48, 45)
- HSL: hsl(45, 4%, 18%)
- HSV: hsv(45, 8%, 19%)
- CMYK: 0.00% cyan, 2.00% magenta, 8.00% yellow, 81.00% black
- XYZ: 2.85, 2.96, 2.20
- Yxy: 2.96, 0.3558, 0.3695
- Hunter Lab: 19.89, -0.04, 2.09
- CIE-Lab: 19.89, -0.04, 2.09
In the XYZ color space, this color is represented as X: 2.85, Y: 2.96, Z: 2.20. The Yxy representation further refines this as Y: 2.96, x: 0.3558, and y: 0.3695.
In the Hunter Lab color space, this color is represented as L: 19.89, a: -0.04, and b: 2.09. Similarly, in the CIE-Lab color space, it is represented as L: 19.89, a: -0.04, and b: 2.09.
Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.
Triadic Colors of #31302D
Triadic colors are three colors evenly spaced around the color wheel, including #31302D. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #31302D
Monochromatic colors are variations of #31302D, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #31302D
The complementary color of #31302D is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.
CSS Examples of #31302D
/* Using HEX */ body { background-color: #31302d; }
/* Using RGB */ body { background-color: rgb(49, 48, 45); }
/* Using RGB with opacity */ body { background-color: rgba(49, 48, 45, 0.5); }
/* Using HSL */ body { background-color: hsl(45, 4%, 18%); }
/* Text color */ p { color: #31302d; }
/* Box shadow */ div { box-shadow: 4px 4px #31302d; }
HTML Examples of #31302D
<!-- Using HEX --> <div style="background-color: #31302d; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(49, 48, 45); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(49, 48, 45, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(45, 4%, 18%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #31302d;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #31302d; width: 100px; height: 100px;"></div>
Related Colors of #31302D
These colors are similar to #31302D, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.