Color spaces of #040228
RGB | 4 | 2 | 40 |
---|---|---|---|
HSL | 0.68 | 0.90 | 0.08 |
HSV | 243° | 95° | 16° |
CMYK | 0.90 | 0.95 | 0.00 0.84 |
XYZ | 0.4548 | 0.2224 | 2.0264 |
Yxy | 0.2224 | 0.1682 | 0.0823 |
Hunter Lab | 4.7159 | 8.9615 | -22.1753 |
CIE-Lab | 2.0089 | 9.9713 | -21.9513 |
#040228 color RGB value is (4,2,40).
#040228 hex color red value is 4, green value is 2 and the blue value of its RGB is 40. Cylindrical-coordinate representations (also known as HSL) of color #040228 hue: 0.68 , saturation: 0.90 and the lightness value of 040228 is 0.08.
The process color (four color CMYK) of #040228 color hex is 0.90, 0.95, 0.00, 0.84. Web safe color of #040228 is #000033. Color #040228 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00000010 | 00101000 |
Octal | 4 | 2 | 50 |
Decimal | 4 | 2 | 40 |
Hex | 4 | 2 | 28 |
Shades of #040228
Tints of #040228
RGB Percentages of Color #040228
CMYK Percentages of Color #040228
Complementary Color
#040228 | #262802 |
#040228 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#040228 Color Preview on White Background
Lorem ipsum dolor sit amet.
#040228 Color CSS Codes
.mybgcolor {background-color:#040228; } .myforecolor {color:#040228; } .mybordercolor {border:3px solid #040228; }
#040228 Text Font Color
<p style="color:#040228">Text here</p>
This sample text font color is #040228
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.
#040228 Background Color
<div style="background-color:#040228">
Div content here</div>
This div background color is #040228
#040228 Border Color
<div style="border:3px solid #040228">
Div here</div>
This div border color is #040228
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,2,40, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #040228; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040228; -webkit-box-shadow: 1px 1px 3px 2px #040228; box-shadow: 1px 1px 3px 2px #040228; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,2,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 #040228">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #040228; -webkit-box-shadow: 1px 1px 3px 2px #040228; box-shadow: 1px 1px 3px 2px #040228;">
Div content here</div>
This div box has shadow with color #040228
Comments
No comments written yet.
Please login to write comment.