Color spaces of #042812
RGB | 4 | 40 | 18 |
---|---|---|---|
HSL | 0.40 | 0.82 | 0.09 |
HSV | 143° | 90° | 16° |
CMYK | 0.90 | 0.00 | 0.55 0.84 |
XYZ | 0.9180 | 1.5871 | 0.8302 |
Yxy | 1.5871 | 0.2752 | 0.4758 |
Hunter Lab | 12.5980 | -9.0395 | 4.9114 |
CIE-Lab | 13.1514 | -19.1718 | 10.8001 |
#042812 color RGB value is (4,40,18).
#042812 hex color red value is 4, green value is 40 and the blue value of its RGB is 18. Cylindrical-coordinate representations (also known as HSL) of color #042812 hue: 0.40 , saturation: 0.82 and the lightness value of 042812 is 0.09.
The process color (four color CMYK) of #042812 color hex is 0.90, 0.00, 0.55, 0.84. Web safe color of #042812 is #003300. Color #042812 contains mainly GREEN color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00101000 | 00010010 |
Octal | 4 | 50 | 22 |
Decimal | 4 | 40 | 18 |
Hex | 4 | 28 | 12 |
Shades of #042812
Tints of #042812
RGB Percentages of Color #042812
CMYK Percentages of Color #042812
Complementary Color
#042812 | #28041a |
#042812 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#042812 Color Preview on White Background
Lorem ipsum dolor sit amet.
#042812 Color CSS Codes
.mybgcolor {background-color:#042812; } .myforecolor {color:#042812; } .mybordercolor {border:3px solid #042812; }
#042812 Text Font Color
<p style="color:#042812">Text here</p>
This sample text font color is #042812
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
#042812 Background Color
<div style="background-color:#042812">
Div content here</div>
This div background color is #042812
#042812 Border Color
<div style="border:3px solid #042812">
Div here</div>
This div border color is #042812
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,40,18, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #042812; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #042812; -webkit-box-shadow: 1px 1px 3px 2px #042812; box-shadow: 1px 1px 3px 2px #042812; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,40,18, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #042812">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #042812; -webkit-box-shadow: 1px 1px 3px 2px #042812; box-shadow: 1px 1px 3px 2px #042812;">
Div content here</div>
This div box has shadow with color #042812
Comments
No comments written yet.
Please login to write comment.