Color spaces of #040dab
RGB | 4 | 13 | 171 |
---|---|---|---|
HSL | 0.66 | 0.95 | 0.34 |
HSV | 237° | 98° | 67° |
CMYK | 0.98 | 0.92 | 0.00 0.33 |
XYZ | 7.5447 | 3.2539 | 38.7585 |
Yxy | 3.2539 | 0.1522 | 0.0657 |
Hunter Lab | 18.0386 | 43.0908 | -114.7662 |
CIE-Lab | 21.0333 | 55.2578 | -77.8916 |
#040dab color RGB value is (4,13,171).
#040dab hex color red value is 4, green value is 13 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #040dab hue: 0.66 , saturation: 0.95 and the lightness value of 040dab is 0.34.
The process color (four color CMYK) of #040dab color hex is 0.98, 0.92, 0.00, 0.33. Web safe color of #040dab is #000099. Color #040dab contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00001101 | 10101011 |
Octal | 4 | 15 | 253 |
Decimal | 4 | 13 | 171 |
Hex | 4 | D | AB |
Shades of #040dab
Tints of #040dab
RGB Percentages of Color #040dab
CMYK Percentages of Color #040dab
Complementary Color
#040dab | #aba204 |
#040dab Color Preview on Black Background
Lorem ipsum dolor sit amet.
#040dab Color Preview on White Background
Lorem ipsum dolor sit amet.
#040dab Color CSS Codes
.mybgcolor {background-color:#040dab; } .myforecolor {color:#040dab; } .mybordercolor {border:3px solid #040dab; }
#040dab Text Font Color
<p style="color:#040dab">Text here</p>
This sample text font color is #040dab
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.
#040dab Background Color
<div style="background-color:#040dab">
Div content here</div>
This div background color is #040dab
#040dab Border Color
<div style="border:3px solid #040dab">
Div here</div>
This div border color is #040dab
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,13,171, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #040dab; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040dab; -webkit-box-shadow: 1px 1px 3px 2px #040dab; box-shadow: 1px 1px 3px 2px #040dab; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,13,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 #040dab">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #040dab; -webkit-box-shadow: 1px 1px 3px 2px #040dab; box-shadow: 1px 1px 3px 2px #040dab;">
Div content here</div>
This div box has shadow with color #040dab
Comments
No comments written yet.
Please login to write comment.