Color spaces of #040797
RGB | 4 | 7 | 151 |
---|---|---|---|
HSL | 0.66 | 0.95 | 0.30 |
HSV | 239° | 97° | 59° |
CMYK | 0.97 | 0.95 | 0.00 0.41 |
XYZ | 5.7120 | 2.4121 | 29.4427 |
Yxy | 2.4121 | 0.1520 | 0.0642 |
Hunter Lab | 15.5309 | 38.4700 | -101.5271 |
CIE-Lab | 17.5163 | 51.3814 | -71.5442 |
#040797 color RGB value is (4,7,151).
#040797 hex color red value is 4, green value is 7 and the blue value of its RGB is 151. Cylindrical-coordinate representations (also known as HSL) of color #040797 hue: 0.66 , saturation: 0.95 and the lightness value of 040797 is 0.30.
The process color (four color CMYK) of #040797 color hex is 0.97, 0.95, 0.00, 0.41. Web safe color of #040797 is #000099. Color #040797 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000100 | 00000111 | 10010111 |
Octal | 4 | 7 | 227 |
Decimal | 4 | 7 | 151 |
Hex | 4 | 7 | 97 |
Shades of #040797
Tints of #040797
RGB Percentages of Color #040797
CMYK Percentages of Color #040797
Complementary Color
#040797 | #979404 |
#040797 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#040797 Color Preview on White Background
Lorem ipsum dolor sit amet.
#040797 Color CSS Codes
.mybgcolor {background-color:#040797; } .myforecolor {color:#040797; } .mybordercolor {border:3px solid #040797; }
#040797 Text Font Color
<p style="color:#040797">Text here</p>
This sample text font color is #040797
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.
#040797 Background Color
<div style="background-color:#040797">
Div content here</div>
This div background color is #040797
#040797 Border Color
<div style="border:3px solid #040797">
Div here</div>
This div border color is #040797
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(4,7,151, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #040797; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040797; -webkit-box-shadow: 1px 1px 3px 2px #040797; box-shadow: 1px 1px 3px 2px #040797; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(4,7,151, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #040797">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #040797; -webkit-box-shadow: 1px 1px 3px 2px #040797; box-shadow: 1px 1px 3px 2px #040797;">
Div content here</div>
This div box has shadow with color #040797
Comments
No comments written yet.
Please login to write comment.