Color spaces of #042a5b
RGB | 4 | 42 | 91 |
---|---|---|---|
HSL | 0.59 | 0.92 | 0.19 |
HSV | 214° | 96° | 36° |
CMYK | 0.96 | 0.54 | 0.00 0.64 |
XYZ | 2.7664 | 2.4371 | 10.2221 |
Yxy | 2.4371 | 0.1793 | 0.1580 |
Hunter Lab | 15.6112 | 4.3116 | -27.8948 |
CIE-Lab | 17.6317 | 8.8378 | -32.9128 |
#042a5b color RGB value is (4,42,91).
#042a5b hex color red value is 4, green value is 42 and the blue value of its RGB is 91. Cylindrical-coordinate representations (also known as HSL) of color #042a5b hue: 0.59 , saturation: 0.92 and the lightness value of 042a5b is 0.19.
The process color (four color CMYK) of #042a5b color hex is 0.96, 0.54, 0.00, 0.64. Web safe color of #042a5b is #003366. Color #042a5b contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00101010 | 01011011 |
Octal | 4 | 52 | 133 |
Decimal | 4 | 42 | 91 |
Hex | 4 | 2A | 5B |
Shades of #042a5b
Tints of #042a5b
RGB Percentages of Color #042a5b
CMYK Percentages of Color #042a5b
Complementary Color
#042a5b | #5b3504 |
#042a5b Color Preview on Black Background
Lorem ipsum dolor sit amet.
#042a5b Color Preview on White Background
Lorem ipsum dolor sit amet.
#042a5b Color CSS Codes
.mybgcolor {background-color:#042a5b; } .myforecolor {color:#042a5b; } .mybordercolor {border:3px solid #042a5b; }
#042a5b Text Font Color
<p style="color:#042a5b">Text here</p>
This sample text font color is #042a5b
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.
#042a5b Background Color
<div style="background-color:#042a5b">
Div content here</div>
This div background color is #042a5b
#042a5b Border Color
<div style="border:3px solid #042a5b">
Div here</div>
This div border color is #042a5b
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,42,91, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #042a5b; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #042a5b; -webkit-box-shadow: 1px 1px 3px 2px #042a5b; box-shadow: 1px 1px 3px 2px #042a5b; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,42,91, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #042a5b">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #042a5b; -webkit-box-shadow: 1px 1px 3px 2px #042a5b; box-shadow: 1px 1px 3px 2px #042a5b;">
Div content here</div>
This div box has shadow with color #042a5b
Comments
No comments written yet.
Please login to write comment.