Color spaces of #021040
RGB | 2 | 16 | 64 |
---|---|---|---|
HSL | 0.63 | 0.94 | 0.13 |
HSV | 226° | 97° | 25° |
CMYK | 0.97 | 0.75 | 0.00 0.75 |
XYZ | 1.1357 | 0.7537 | 4.9361 |
Yxy | 0.7537 | 0.1664 | 0.1104 |
Hunter Lab | 8.6816 | 8.1581 | -27.6335 |
CIE-Lab | 6.8081 | 15.9976 | -31.9891 |
#021040 color RGB value is (2,16,64).
#021040 hex color red value is 2, green value is 16 and the blue value of its RGB is 64. Cylindrical-coordinate representations (also known as HSL) of color #021040 hue: 0.63 , saturation: 0.94 and the lightness value of 021040 is 0.13.
The process color (four color CMYK) of #021040 color hex is 0.97, 0.75, 0.00, 0.75. Web safe color of #021040 is #000033. Color #021040 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000010 | 00010000 | 01000000 |
Octal | 2 | 20 | 100 |
Decimal | 2 | 16 | 64 |
Hex | 2 | 10 | 40 |
Shades of #021040
Tints of #021040
RGB Percentages of Color #021040
CMYK Percentages of Color #021040
Complementary Color
#021040 | #403202 |
#021040 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#021040 Color Preview on White Background
Lorem ipsum dolor sit amet.
#021040 Color CSS Codes
.mybgcolor {background-color:#021040; } .myforecolor {color:#021040; } .mybordercolor {border:3px solid #021040; }
#021040 Text Font Color
<p style="color:#021040">Text here</p>
This sample text font color is #021040
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.
#021040 Background Color
<div style="background-color:#021040">
Div content here</div>
This div background color is #021040
#021040 Border Color
<div style="border:3px solid #021040">
Div here</div>
This div border color is #021040
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(2,16,64, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #021040; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #021040; -webkit-box-shadow: 1px 1px 3px 2px #021040; box-shadow: 1px 1px 3px 2px #021040; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(2,16,64, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #021040">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #021040; -webkit-box-shadow: 1px 1px 3px 2px #021040; box-shadow: 1px 1px 3px 2px #021040;">
Div content here</div>
This div box has shadow with color #021040
Comments
No comments written yet.
Please login to write comment.