Color spaces of #042138
RGB | 4 | 33 | 56 |
---|---|---|---|
HSL | 0.57 | 0.87 | 0.12 |
HSV | 207° | 93° | 22° |
CMYK | 0.93 | 0.41 | 0.00 0.78 |
XYZ | 1.3077 | 1.3990 | 3.9425 |
Yxy | 1.3990 | 0.1967 | 0.2104 |
Hunter Lab | 11.8279 | -0.9639 | -11.4831 |
CIE-Lab | 11.9510 | -0.6684 | -17.9745 |
#042138 color RGB value is (4,33,56).
#042138 hex color red value is 4, green value is 33 and the blue value of its RGB is 56. Cylindrical-coordinate representations (also known as HSL) of color #042138 hue: 0.57 , saturation: 0.87 and the lightness value of 042138 is 0.12.
The process color (four color CMYK) of #042138 color hex is 0.93, 0.41, 0.00, 0.78. Web safe color of #042138 is #003333. Color #042138 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00100001 | 00111000 |
Octal | 4 | 41 | 70 |
Decimal | 4 | 33 | 56 |
Hex | 4 | 21 | 38 |
Shades of #042138
Tints of #042138
RGB Percentages of Color #042138
CMYK Percentages of Color #042138
Complementary Color
#042138 | #381b04 |
#042138 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#042138 Color Preview on White Background
Lorem ipsum dolor sit amet.
#042138 Color CSS Codes
.mybgcolor {background-color:#042138; } .myforecolor {color:#042138; } .mybordercolor {border:3px solid #042138; }
#042138 Text Font Color
<p style="color:#042138">Text here</p>
This sample text font color is #042138
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.
#042138 Background Color
<div style="background-color:#042138">
Div content here</div>
This div background color is #042138
#042138 Border Color
<div style="border:3px solid #042138">
Div here</div>
This div border color is #042138
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,33,56, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #042138; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #042138; -webkit-box-shadow: 1px 1px 3px 2px #042138; box-shadow: 1px 1px 3px 2px #042138; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,33,56, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #042138">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #042138; -webkit-box-shadow: 1px 1px 3px 2px #042138; box-shadow: 1px 1px 3px 2px #042138;">
Div content here</div>
This div box has shadow with color #042138
Comments
No comments written yet.
Please login to write comment.