Color spaces of #040c28
RGB | 4 | 12 | 40 |
---|---|---|---|
HSL | 0.63 | 0.82 | 0.09 |
HSV | 227° | 90° | 16° |
CMYK | 0.90 | 0.70 | 0.00 0.84 |
XYZ | 0.5645 | 0.4420 | 2.0630 |
Yxy | 0.4420 | 0.1839 | 0.1440 |
Hunter Lab | 6.6483 | 3.5217 | -13.7441 |
CIE-Lab | 3.9926 | 5.9149 | -18.8484 |
#040c28 color RGB value is (4,12,40).
#040c28 hex color red value is 4, green value is 12 and the blue value of its RGB is 40. Cylindrical-coordinate representations (also known as HSL) of color #040c28 hue: 0.63 , saturation: 0.82 and the lightness value of 040c28 is 0.09.
The process color (four color CMYK) of #040c28 color hex is 0.90, 0.70, 0.00, 0.84. Web safe color of #040c28 is #000033. Color #040c28 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00001100 | 00101000 |
Octal | 4 | 14 | 50 |
Decimal | 4 | 12 | 40 |
Hex | 4 | C | 28 |
Shades of #040c28
Tints of #040c28
RGB Percentages of Color #040c28
CMYK Percentages of Color #040c28
Complementary Color
#040c28 | #282004 |
#040c28 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#040c28 Color Preview on White Background
Lorem ipsum dolor sit amet.
#040c28 Color CSS Codes
.mybgcolor {background-color:#040c28; } .myforecolor {color:#040c28; } .mybordercolor {border:3px solid #040c28; }
#040c28 Text Font Color
<p style="color:#040c28">Text here</p>
This sample text font color is #040c28
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.
#040c28 Background Color
<div style="background-color:#040c28">
Div content here</div>
This div background color is #040c28
#040c28 Border Color
<div style="border:3px solid #040c28">
Div here</div>
This div border color is #040c28
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,12,40, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #040c28; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040c28; -webkit-box-shadow: 1px 1px 3px 2px #040c28; box-shadow: 1px 1px 3px 2px #040c28; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,12,40, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #040c28">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #040c28; -webkit-box-shadow: 1px 1px 3px 2px #040c28; box-shadow: 1px 1px 3px 2px #040c28;">
Div content here</div>
This div box has shadow with color #040c28
Comments
No comments written yet.
Please login to write comment.