Color spaces of #042e98
RGB | 4 | 46 | 152 |
---|---|---|---|
HSL | 0.62 | 0.95 | 0.31 |
HSV | 223° | 97° | 60° |
CMYK | 0.97 | 0.70 | 0.00 0.40 |
XYZ | 6.6946 | 4.2468 | 30.1726 |
Yxy | 4.2468 | 0.1628 | 0.1033 |
Hunter Lab | 20.6078 | 21.9236 | -72.3833 |
CIE-Lab | 24.4711 | 32.0454 | -60.6132 |
#042e98 color RGB value is (4,46,152).
#042e98 hex color red value is 4, green value is 46 and the blue value of its RGB is 152. Cylindrical-coordinate representations (also known as HSL) of color #042e98 hue: 0.62 , saturation: 0.95 and the lightness value of 042e98 is 0.31.
The process color (four color CMYK) of #042e98 color hex is 0.97, 0.70, 0.00, 0.40. Web safe color of #042e98 is #003399. Color #042e98 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00101110 | 10011000 |
Octal | 4 | 56 | 230 |
Decimal | 4 | 46 | 152 |
Hex | 4 | 2E | 98 |
Shades of #042e98
Tints of #042e98
RGB Percentages of Color #042e98
CMYK Percentages of Color #042e98
Complementary Color
#042e98 | #986e04 |
#042e98 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#042e98 Color Preview on White Background
Lorem ipsum dolor sit amet.
#042e98 Color CSS Codes
.mybgcolor {background-color:#042e98; } .myforecolor {color:#042e98; } .mybordercolor {border:3px solid #042e98; }
#042e98 Text Font Color
<p style="color:#042e98">Text here</p>
This sample text font color is #042e98
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.
#042e98 Background Color
<div style="background-color:#042e98">
Div content here</div>
This div background color is #042e98
#042e98 Border Color
<div style="border:3px solid #042e98">
Div here</div>
This div border color is #042e98
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,46,152, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #042e98; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #042e98; -webkit-box-shadow: 1px 1px 3px 2px #042e98; box-shadow: 1px 1px 3px 2px #042e98; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,46,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 #042e98">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #042e98; -webkit-box-shadow: 1px 1px 3px 2px #042e98; box-shadow: 1px 1px 3px 2px #042e98;">
Div content here</div>
This div box has shadow with color #042e98
Comments
No comments written yet.
Please login to write comment.