Color: #08040C
#08040C Color Information
#08040C is a dark color. The closest websafe version is #08040C. A complement of this color would be #080B04, perceived brightness is 0.02, and the grayscale version is #080808.
In the HSL color space, this color has a hue angle of 270°,a saturation of 50%, and a lightness of 3%.The HSV representation shows a hue of 270°, a saturation of 100%, and a value of 100%.
In a RGB color space, #08040C is composed of 3% red, 2% green and 5% blue. Whereas in a CMYK color space, it is composed of 33% cyan, 67% magenta, 0% yellow and 95% black.
In the Yxy color space, this color is represented as Y: 0.16, x: 0.3231, and y: 0.2462.
Color Code #08040C
Shades of Color #08040C
Shades are created by darkening the original color #08040C 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 #08040C
Tints are created by lightening the original color #08040C 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 #08040C Color Code
In the HSL color space, this color has a hue angle of 270°, a saturation of 50%, and a lightness of 3%. The HSV representation shows a hue of 270°, a saturation of 67%, and a value of 5%.
- HEX: #08040C
- RGB: rgb(8, 4, 12)
- HSL: hsl(270, 50%, 3%)
- HSV: hsv(270, 67%, 5%)
- CMYK: 33.00% cyan, 67.00% magenta, 0.00% yellow, 95.00% black
- XYZ: 0.21, 0.16, 0.28
- Yxy: 0.16, 0.3231, 0.2462
- Hunter Lab: 1.48, 1.93, -2.70
- CIE-Lab: 1.48, 1.93, -2.70
In the XYZ color space, this color is represented as X: 0.21, Y: 0.16, Z: 0.28. The Yxy representation further refines this as Y: 0.16, x: 0.3231, and y: 0.2462.
In the Hunter Lab color space, this color is represented as L: 1.48, a: 1.93, and b: -2.70. Similarly, in the CIE-Lab color space, it is represented as L: 1.48, a: 1.93, and b: -2.70.
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 #08040C
Triadic colors are three colors evenly spaced around the color wheel, including #08040C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #08040C
Monochromatic colors are variations of #08040C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #08040C
The complementary color of #08040C 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 #08040C
/* Using HEX */ body { background-color: #08040c; }
/* Using RGB */ body { background-color: rgb(8, 4, 12); }
/* Using RGB with opacity */ body { background-color: rgba(8, 4, 12, 0.5); }
/* Using HSL */ body { background-color: hsl(270, 50%, 3%); }
/* Text color */ p { color: #08040c; }
/* Box shadow */ div { box-shadow: 4px 4px #08040c; }
HTML Examples of #08040C
<!-- Using HEX --> <div style="background-color: #08040c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(8, 4, 12); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(8, 4, 12, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(270, 50%, 3%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #08040c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #08040c; width: 100px; height: 100px;"></div>
Related Colors of #08040C
These colors are similar to #08040C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.