Color spaces of #021162
RGB | 2 | 17 | 98 |
---|---|---|---|
HSL | 0.64 | 0.96 | 0.20 |
HSV | 231° | 98° | 38° |
CMYK | 0.98 | 0.83 | 0.00 0.62 |
XYZ | 2.4301 | 1.2956 | 11.6773 |
Yxy | 1.2956 | 0.1578 | 0.0841 |
Hunter Lab | 11.3824 | 18.1897 | -52.8582 |
CIE-Lab | 11.2447 | 29.8646 | -48.0484 |
#021162 color RGB value is (2,17,98).
#021162 hex color red value is 2, green value is 17 and the blue value of its RGB is 98. Cylindrical-coordinate representations (also known as HSL) of color #021162 hue: 0.64 , saturation: 0.96 and the lightness value of 021162 is 0.20.
The process color (four color CMYK) of #021162 color hex is 0.98, 0.83, 0.00, 0.62. Web safe color of #021162 is #000066. Color #021162 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000010 | 00010001 | 01100010 |
Octal | 2 | 21 | 142 |
Decimal | 2 | 17 | 98 |
Hex | 2 | 11 | 62 |
Shades of #021162
Tints of #021162
RGB Percentages of Color #021162
CMYK Percentages of Color #021162
Complementary Color
#021162 | #625302 |
#021162 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#021162 Color Preview on White Background
Lorem ipsum dolor sit amet.
#021162 Color CSS Codes
.mybgcolor {background-color:#021162; } .myforecolor {color:#021162; } .mybordercolor {border:3px solid #021162; }
#021162 Text Font Color
<p style="color:#021162">Text here</p>
This sample text font color is #021162
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.
#021162 Background Color
<div style="background-color:#021162">
Div content here</div>
This div background color is #021162
#021162 Border Color
<div style="border:3px solid #021162">
Div here</div>
This div border color is #021162
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(2,17,98, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #021162; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #021162; -webkit-box-shadow: 1px 1px 3px 2px #021162; box-shadow: 1px 1px 3px 2px #021162; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(2,17,98, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #021162">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #021162; -webkit-box-shadow: 1px 1px 3px 2px #021162; box-shadow: 1px 1px 3px 2px #021162;">
Div content here</div>
This div box has shadow with color #021162
Comments
No comments written yet.
Please login to write comment.