Color spaces of #042aa2
RGB | 4 | 42 | 162 |
---|---|---|---|
HSL | 0.63 | 0.95 | 0.33 |
HSV | 226° | 98° | 64° |
CMYK | 0.98 | 0.74 | 0.00 0.36 |
XYZ | 7.3996 | 4.2904 | 34.6205 |
Yxy | 4.2904 | 0.1598 | 0.0926 |
Hunter Lab | 20.7133 | 27.5190 | -84.5989 |
CIE-Lab | 24.6092 | 38.4583 | -66.4911 |
#042aa2 color RGB value is (4,42,162).
#042aa2 hex color red value is 4, green value is 42 and the blue value of its RGB is 162. Cylindrical-coordinate representations (also known as HSL) of color #042aa2 hue: 0.63 , saturation: 0.95 and the lightness value of 042aa2 is 0.33.
The process color (four color CMYK) of #042aa2 color hex is 0.98, 0.74, 0.00, 0.36. Web safe color of #042aa2 is #003399. Color #042aa2 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00101010 | 10100010 |
Octal | 4 | 52 | 242 |
Decimal | 4 | 42 | 162 |
Hex | 4 | 2A | A2 |
Shades of #042aa2
Tints of #042aa2
RGB Percentages of Color #042aa2
CMYK Percentages of Color #042aa2
Complementary Color
#042aa2 | #a27c04 |
#042aa2 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#042aa2 Color Preview on White Background
Lorem ipsum dolor sit amet.
#042aa2 Color CSS Codes
.mybgcolor {background-color:#042aa2; } .myforecolor {color:#042aa2; } .mybordercolor {border:3px solid #042aa2; }
#042aa2 Text Font Color
<p style="color:#042aa2">Text here</p>
This sample text font color is #042aa2
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.
#042aa2 Background Color
<div style="background-color:#042aa2">
Div content here</div>
This div background color is #042aa2
#042aa2 Border Color
<div style="border:3px solid #042aa2">
Div here</div>
This div border color is #042aa2
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,42,162, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #042aa2; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #042aa2; -webkit-box-shadow: 1px 1px 3px 2px #042aa2; box-shadow: 1px 1px 3px 2px #042aa2; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,42,162, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #042aa2">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #042aa2; -webkit-box-shadow: 1px 1px 3px 2px #042aa2; box-shadow: 1px 1px 3px 2px #042aa2;">
Div content here</div>
This div box has shadow with color #042aa2
Comments
No comments written yet.
Please login to write comment.