Color spaces of #041240
RGB | 4 | 18 | 64 |
---|---|---|---|
HSL | 0.63 | 0.88 | 0.13 |
HSV | 226° | 94° | 25° |
CMYK | 0.94 | 0.72 | 0.00 0.75 |
XYZ | 1.1918 | 0.8286 | 4.9476 |
Yxy | 0.8286 | 0.1710 | 0.1189 |
Hunter Lab | 9.1027 | 7.4408 | -25.8539 |
CIE-Lab | 7.4847 | 14.9334 | -30.8779 |
#041240 color RGB value is (4,18,64).
#041240 hex color red value is 4, green value is 18 and the blue value of its RGB is 64. Cylindrical-coordinate representations (also known as HSL) of color #041240 hue: 0.63 , saturation: 0.88 and the lightness value of 041240 is 0.13.
The process color (four color CMYK) of #041240 color hex is 0.94, 0.72, 0.00, 0.75. Web safe color of #041240 is #000033. Color #041240 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00010010 | 01000000 |
Octal | 4 | 22 | 100 |
Decimal | 4 | 18 | 64 |
Hex | 4 | 12 | 40 |
Shades of #041240
Tints of #041240
RGB Percentages of Color #041240
CMYK Percentages of Color #041240
Complementary Color
#041240 | #403204 |
#041240 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#041240 Color Preview on White Background
Lorem ipsum dolor sit amet.
#041240 Color CSS Codes
.mybgcolor {background-color:#041240; } .myforecolor {color:#041240; } .mybordercolor {border:3px solid #041240; }
#041240 Text Font Color
<p style="color:#041240">Text here</p>
This sample text font color is #041240
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.
#041240 Background Color
<div style="background-color:#041240">
Div content here</div>
This div background color is #041240
#041240 Border Color
<div style="border:3px solid #041240">
Div here</div>
This div border color is #041240
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,18,64, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #041240; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #041240; -webkit-box-shadow: 1px 1px 3px 2px #041240; box-shadow: 1px 1px 3px 2px #041240; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,18,64, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #041240">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #041240; -webkit-box-shadow: 1px 1px 3px 2px #041240; box-shadow: 1px 1px 3px 2px #041240;">
Div content here</div>
This div box has shadow with color #041240
Comments
No comments written yet.
Please login to write comment.