Color: #0C421C
#0C421C Color Information
#0C421C is a dark color. The closest websafe version is #0C421C. A complement of this color would be #410C31, perceived brightness is 0.18, and the grayscale version is #272727.
In the HSL color space, this color has a hue angle of 138°,a saturation of 69%, and a lightness of 15%.The HSV representation shows a hue of 138°, a saturation of 82%, and a value of 26%.
In a RGB color space, #0C421C is composed of 5% red, 26% green and 11% blue. Whereas in a CMYK color space, it is composed of 82% cyan, 0% magenta, 58% yellow and 74% black.
In the Yxy color space, this color is represented as Y: 4.06, x: 0.3087, and y: 0.5179.
Color Code #0C421C
Shades of Color #0C421C
Shades are created by darkening the original color #0C421C 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 #0C421C
Tints are created by lightening the original color #0C421C 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 #0C421C Color Code
In the HSL color space, this color has a hue angle of 138°, a saturation of 69%, and a lightness of 15%. The HSV representation shows a hue of 138°, a saturation of 82%, and a value of 26%.
- HEX: #0C421C
- RGB: rgb(12, 66, 28)
- HSL: hsl(138, 69%, 15%)
- HSV: hsv(138, 82%, 26%)
- CMYK: 82.00% cyan, 0.00% magenta, 58.00% yellow, 74.00% black
- XYZ: 2.42, 4.06, 1.36
- Yxy: 4.06, 0.3087, 0.5179
- Hunter Lab: 23.86, -25.34, 17.79
- CIE-Lab: 23.86, -25.34, 17.79
In the XYZ color space, this color is represented as X: 2.42, Y: 4.06, Z: 1.36. The Yxy representation further refines this as Y: 4.06, x: 0.3087, and y: 0.5179.
In the Hunter Lab color space, this color is represented as L: 23.86, a: -25.34, and b: 17.79. Similarly, in the CIE-Lab color space, it is represented as L: 23.86, a: -25.34, and b: 17.79.
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 #0C421C
Triadic colors are three colors evenly spaced around the color wheel, including #0C421C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #0C421C
Split complementary colors are two colors adjacent to the complementary color of #0C421C. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #0C421C
Monochromatic colors are variations of #0C421C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #0C421C
The complementary color of #0C421C 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 #0C421C
/* Using HEX */ body { background-color: #0c421c; }
/* Using RGB */ body { background-color: rgb(12, 66, 28); }
/* Using RGB with opacity */ body { background-color: rgba(12, 66, 28, 0.5); }
/* Using HSL */ body { background-color: hsl(138, 69%, 15%); }
/* Text color */ p { color: #0c421c; }
/* Box shadow */ div { box-shadow: 4px 4px #0c421c; }
/* Border color */ .box { border: 4px solid #0c421c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #0c421c; }
/* Background with text */ div { background: #0c421c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #0C421C
<!-- Using HEX --> <div style="background-color: #0c421c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(12, 66, 28); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(12, 66, 28, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(138, 69%, 15%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #0c421c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #0c421c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #0c421c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #0c421c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #0c421c; color: #fff; padding: 16px; border-radius: 8px;"> #0C421C </div>
Related Colors of #0C421C
These colors are similar to #0C421C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.