Color: #40242C
#40242C Color Information
#40242C is a dark color. The closest websafe version is #40242C. A complement of this color would be #254139, perceived brightness is 0.18, and the grayscale version is #323232.
In the HSL color space, this color has a hue angle of 343°,a saturation of 28%, and a lightness of 20%.The HSV representation shows a hue of 343°, a saturation of 100%, and a value of 100%.
In a RGB color space, #40242C is composed of 25% red, 14% green and 17% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 44% magenta, 31% yellow and 75% black.
In the Yxy color space, this color is represented as Y: 2.56, x: 0.4162, and y: 0.3249.
Color Code #40242C
Shades of Color #40242C
Shades are created by darkening the original color #40242C 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 #40242C
Tints are created by lightening the original color #40242C 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 #40242C Color Code
In the HSL color space, this color has a hue angle of 343°, a saturation of 28%, and a lightness of 20%. The HSV representation shows a hue of 343°, a saturation of 44%, and a value of 25%.
- HEX: #40242C
- RGB: rgb(64, 36, 44)
- HSL: hsl(343, 28%, 20%)
- HSV: hsv(343, 44%, 25%)
- CMYK: 0.00% cyan, 44.00% magenta, 31.00% yellow, 75.00% black
- XYZ: 3.28, 2.56, 2.04
- Yxy: 2.56, 0.4162, 0.3249
- Hunter Lab: 18.18, 14.61, 0.65
- CIE-Lab: 18.18, 14.61, 0.65
In the XYZ color space, this color is represented as X: 3.28, Y: 2.56, Z: 2.04. The Yxy representation further refines this as Y: 2.56, x: 0.4162, and y: 0.3249.
In the Hunter Lab color space, this color is represented as L: 18.18, a: 14.61, and b: 0.65. Similarly, in the CIE-Lab color space, it is represented as L: 18.18, a: 14.61, and b: 0.65.
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 #40242C
Triadic colors are three colors evenly spaced around the color wheel, including #40242C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #40242C
Monochromatic colors are variations of #40242C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #40242C
The complementary color of #40242C 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 #40242C
/* Using HEX */ body { background-color: #40242c; }
/* Using RGB */ body { background-color: rgb(64, 36, 44); }
/* Using RGB with opacity */ body { background-color: rgba(64, 36, 44, 0.5); }
/* Using HSL */ body { background-color: hsl(343, 28%, 20%); }
/* Text color */ p { color: #40242c; }
/* Box shadow */ div { box-shadow: 4px 4px #40242c; }
HTML Examples of #40242C
<!-- Using HEX --> <div style="background-color: #40242c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(64, 36, 44); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(64, 36, 44, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(343, 28%, 20%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #40242c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #40242c; width: 100px; height: 100px;"></div>
Related Colors of #40242C
These colors are similar to #40242C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.