Color spaces of #021542
RGB | 2 | 21 | 66 |
---|---|---|---|
HSL | 0.62 | 0.94 | 0.13 |
HSV | 222° | 97° | 26° |
CMYK | 0.97 | 0.68 | 0.00 0.74 |
XYZ | 1.2766 | 0.9426 | 5.2689 |
Yxy | 0.9426 | 0.1705 | 0.1259 |
Hunter Lab | 9.7088 | 6.4806 | -25.3803 |
CIE-Lab | 8.5038 | 13.2327 | -30.6334 |
#021542 color RGB value is (2,21,66).
#021542 hex color red value is 2, green value is 21 and the blue value of its RGB is 66. Cylindrical-coordinate representations (also known as HSL) of color #021542 hue: 0.62 , saturation: 0.94 and the lightness value of 021542 is 0.13.
The process color (four color CMYK) of #021542 color hex is 0.97, 0.68, 0.00, 0.74. Web safe color of #021542 is #000033. Color #021542 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000010 | 00010101 | 01000010 |
Octal | 2 | 25 | 102 |
Decimal | 2 | 21 | 66 |
Hex | 2 | 15 | 42 |
Shades of #021542
Tints of #021542
RGB Percentages of Color #021542
CMYK Percentages of Color #021542
Complementary Color
#021542 | #422f02 |
#021542 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#021542 Color Preview on White Background
Lorem ipsum dolor sit amet.
#021542 Color CSS Codes
.mybgcolor {background-color:#021542; } .myforecolor {color:#021542; } .mybordercolor {border:3px solid #021542; }
#021542 Text Font Color
<p style="color:#021542">Text here</p>
This sample text font color is #021542
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.
#021542 Background Color
<div style="background-color:#021542">
Div content here</div>
This div background color is #021542
#021542 Border Color
<div style="border:3px solid #021542">
Div here</div>
This div border color is #021542
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(2,21,66, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #021542; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #021542; -webkit-box-shadow: 1px 1px 3px 2px #021542; box-shadow: 1px 1px 3px 2px #021542; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(2,21,66, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #021542">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #021542; -webkit-box-shadow: 1px 1px 3px 2px #021542; box-shadow: 1px 1px 3px 2px #021542;">
Div content here</div>
This div box has shadow with color #021542
Comments
No comments written yet.
Please login to write comment.