Color spaces of #021c7e
RGB | 2 | 28 | 126 |
---|---|---|---|
HSL | 0.63 | 0.97 | 0.25 |
HSV | 227° | 98° | 49° |
CMYK | 0.98 | 0.78 | 0.00 0.51 |
XYZ | 4.2062 | 2.3498 | 19.9705 |
Yxy | 2.3498 | 0.1586 | 0.0886 |
Hunter Lab | 15.3291 | 22.1535 | -66.5119 |
CIE-Lab | 17.2253 | 33.6440 | -56.3486 |
#021c7e color RGB value is (2,28,126).
#021c7e hex color red value is 2, green value is 28 and the blue value of its RGB is 126. Cylindrical-coordinate representations (also known as HSL) of color #021c7e hue: 0.63 , saturation: 0.97 and the lightness value of 021c7e is 0.25.
The process color (four color CMYK) of #021c7e color hex is 0.98, 0.78, 0.00, 0.51. Web safe color of #021c7e is #003366. Color #021c7e contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000010 | 00011100 | 01111110 |
Octal | 2 | 34 | 176 |
Decimal | 2 | 28 | 126 |
Hex | 2 | 1C | 7E |
Shades of #021c7e
Tints of #021c7e
RGB Percentages of Color #021c7e
CMYK Percentages of Color #021c7e
Complementary Color
#021c7e | #7e6402 |
#021c7e Color Preview on Black Background
Lorem ipsum dolor sit amet.
#021c7e Color Preview on White Background
Lorem ipsum dolor sit amet.
#021c7e Color CSS Codes
.mybgcolor {background-color:#021c7e; } .myforecolor {color:#021c7e; } .mybordercolor {border:3px solid #021c7e; }
#021c7e Text Font Color
<p style="color:#021c7e">Text here</p>
This sample text font color is #021c7e
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.
#021c7e Background Color
<div style="background-color:#021c7e">
Div content here</div>
This div background color is #021c7e
#021c7e Border Color
<div style="border:3px solid #021c7e">
Div here</div>
This div border color is #021c7e
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(2,28,126, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #021c7e; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #021c7e; -webkit-box-shadow: 1px 1px 3px 2px #021c7e; box-shadow: 1px 1px 3px 2px #021c7e; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(2,28,126, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #021c7e">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #021c7e; -webkit-box-shadow: 1px 1px 3px 2px #021c7e; box-shadow: 1px 1px 3px 2px #021c7e;">
Div content here</div>
This div box has shadow with color #021c7e
Comments
No comments written yet.
Please login to write comment.