Color spaces of #021498
RGB | 2 | 20 | 152 |
---|---|---|---|
HSL | 0.65 | 0.97 | 0.30 |
HSV | 233° | 99° | 60° |
CMYK | 0.99 | 0.87 | 0.00 0.40 |
XYZ | 5.9427 | 2.7802 | 29.9292 |
Yxy | 2.7802 | 0.1537 | 0.0719 |
Hunter Lab | 16.6739 | 34.4392 | -94.7520 |
CIE-Lab | 19.1412 | 46.9796 | -69.4511 |
#021498 color RGB value is (2,20,152).
#021498 hex color red value is 2, green value is 20 and the blue value of its RGB is 152. Cylindrical-coordinate representations (also known as HSL) of color #021498 hue: 0.65 , saturation: 0.97 and the lightness value of 021498 is 0.30.
The process color (four color CMYK) of #021498 color hex is 0.99, 0.87, 0.00, 0.40. Web safe color of #021498 is #000099. Color #021498 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000010 | 00010100 | 10011000 |
Octal | 2 | 24 | 230 |
Decimal | 2 | 20 | 152 |
Hex | 2 | 14 | 98 |
Shades of #021498
Tints of #021498
RGB Percentages of Color #021498
CMYK Percentages of Color #021498
Complementary Color
#021498 | #988602 |
#021498 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#021498 Color Preview on White Background
Lorem ipsum dolor sit amet.
#021498 Color CSS Codes
.mybgcolor {background-color:#021498; } .myforecolor {color:#021498; } .mybordercolor {border:3px solid #021498; }
#021498 Text Font Color
<p style="color:#021498">Text here</p>
This sample text font color is #021498
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.
#021498 Background Color
<div style="background-color:#021498">
Div content here</div>
This div background color is #021498
#021498 Border Color
<div style="border:3px solid #021498">
Div here</div>
This div border color is #021498
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(2,20,152, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #021498; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #021498; -webkit-box-shadow: 1px 1px 3px 2px #021498; box-shadow: 1px 1px 3px 2px #021498; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(2,20,152, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #021498">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #021498; -webkit-box-shadow: 1px 1px 3px 2px #021498; box-shadow: 1px 1px 3px 2px #021498;">
Div content here</div>
This div box has shadow with color #021498
Comments
No comments written yet.
Please login to write comment.