Color spaces of #2a021f
RGB | 42 | 2 | 31 |
---|---|---|---|
HSL | 0.88 | 0.91 | 0.09 |
HSV | 317° | 95° | 16° |
CMYK | 0.00 | 0.95 | 0.26 0.84 |
XYZ | 1.2239 | 0.6346 | 1.3543 |
Yxy | 0.6346 | 0.3809 | 0.1975 |
Hunter Lab | 7.9662 | 13.4834 | -4.5033 |
CIE-Lab | 5.7323 | 23.5205 | -8.8697 |
#2a021f color RGB value is (42,2,31).
#2a021f hex color red value is 42, green value is 2 and the blue value of its RGB is 31. Cylindrical-coordinate representations (also known as HSL) of color #2a021f hue: 0.88 , saturation: 0.91 and the lightness value of 2a021f is 0.09.
The process color (four color CMYK) of #2a021f color hex is 0.00, 0.95, 0.26, 0.84. Web safe color of #2a021f is #330033. Color #2a021f contains mainly RED color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00101010 | 00000010 | 00011111 |
Octal | 52 | 2 | 37 |
Decimal | 42 | 2 | 31 |
Hex | 2A | 2 | 1F |
Shades of #2a021f
Tints of #2a021f
RGB Percentages of Color #2a021f
CMYK Percentages of Color #2a021f
Complementary Color
#2a021f | #022a0d |
#2a021f Color Preview on Black Background
Lorem ipsum dolor sit amet.
#2a021f Color Preview on White Background
Lorem ipsum dolor sit amet.
#2a021f Color CSS Codes
.mybgcolor {background-color:#2a021f; } .myforecolor {color:#2a021f; } .mybordercolor {border:3px solid #2a021f; }
#2a021f Text Font Color
<p style="color:#2a021f">Text here</p>
This sample text font color is #2a021f
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.
#2a021f Background Color
<div style="background-color:#2a021f">
Div content here</div>
This div background color is #2a021f
#2a021f Border Color
<div style="border:3px solid #2a021f">
Div here</div>
This div border color is #2a021f
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(42,2,31, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #2a021f; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2a021f; -webkit-box-shadow: 1px 1px 3px 2px #2a021f; box-shadow: 1px 1px 3px 2px #2a021f; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(42,2,31, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #2a021f">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #2a021f; -webkit-box-shadow: 1px 1px 3px 2px #2a021f; box-shadow: 1px 1px 3px 2px #2a021f;">
Div content here</div>
This div box has shadow with color #2a021f
Comments
No comments written yet.
Please login to write comment.