Color spaces of #0242ab
RGB | 2 | 66 | 171 |
---|---|---|---|
HSL | 0.60 | 0.98 | 0.34 |
HSV | 217° | 99° | 67° |
CMYK | 0.99 | 0.61 | 0.00 0.33 |
XYZ | 9.3239 | 6.8496 | 39.3588 |
Yxy | 6.8496 | 0.1679 | 0.1233 |
Hunter Lab | 26.1717 | 17.7916 | -70.8440 |
CIE-Lab | 31.4620 | 26.0207 | -60.6391 |
#0242ab color RGB value is (2,66,171).
#0242ab hex color red value is 2, green value is 66 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #0242ab hue: 0.60 , saturation: 0.98 and the lightness value of 0242ab is 0.34.
The process color (four color CMYK) of #0242ab color hex is 0.99, 0.61, 0.00, 0.33. Web safe color of #0242ab is #003399. Color #0242ab contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000010 | 01000010 | 10101011 |
Octal | 2 | 102 | 253 |
Decimal | 2 | 66 | 171 |
Hex | 2 | 42 | AB |
Shades of #0242ab
Tints of #0242ab
RGB Percentages of Color #0242ab
CMYK Percentages of Color #0242ab
Complementary Color
#0242ab | #ab6b02 |
#0242ab Color Preview on Black Background
Lorem ipsum dolor sit amet.
#0242ab Color Preview on White Background
Lorem ipsum dolor sit amet.
#0242ab Color CSS Codes
.mybgcolor {background-color:#0242ab; } .myforecolor {color:#0242ab; } .mybordercolor {border:3px solid #0242ab; }
#0242ab Text Font Color
<p style="color:#0242ab">Text here</p>
This sample text font color is #0242ab
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.
#0242ab Background Color
<div style="background-color:#0242ab">
Div content here</div>
This div background color is #0242ab
#0242ab Border Color
<div style="border:3px solid #0242ab">
Div here</div>
This div border color is #0242ab
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(2,66,171, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #0242ab; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0242ab; -webkit-box-shadow: 1px 1px 3px 2px #0242ab; box-shadow: 1px 1px 3px 2px #0242ab; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(2,66,171, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #0242ab">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #0242ab; -webkit-box-shadow: 1px 1px 3px 2px #0242ab; box-shadow: 1px 1px 3px 2px #0242ab;">
Div content here</div>
This div box has shadow with color #0242ab
Comments
No comments written yet.
Please login to write comment.