Color spaces of #0540cc
RGB | 5 | 64 | 204 |
---|---|---|---|
HSL | 0.62 | 0.95 | 0.41 |
HSV | 222° | 98° | 80° |
CMYK | 0.98 | 0.69 | 0.00 0.20 |
XYZ | 12.7951 | 8.0587 | 58.0078 |
Yxy | 8.0587 | 0.1622 | 0.1022 |
Hunter Lab | 28.3878 | 30.7756 | -101.2818 |
CIE-Lab | 34.1048 | 40.2855 | -75.7456 |
#0540cc color RGB value is (5,64,204).
#0540cc hex color red value is 5, green value is 64 and the blue value of its RGB is 204. Cylindrical-coordinate representations (also known as HSL) of color #0540cc hue: 0.62 , saturation: 0.95 and the lightness value of 0540cc is 0.41.
The process color (four color CMYK) of #0540cc color hex is 0.98, 0.69, 0.00, 0.20. Web safe color of #0540cc is #0033cc. Color #0540cc contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000101 | 01000000 | 11001100 |
Octal | 5 | 100 | 314 |
Decimal | 5 | 64 | 204 |
Hex | 5 | 40 | CC |
Shades of #0540cc
Tints of #0540cc
RGB Percentages of Color #0540cc
CMYK Percentages of Color #0540cc
Complementary Color
#0540cc | #cc9105 |
#0540cc Color Preview on Black Background
Lorem ipsum dolor sit amet.
#0540cc Color Preview on White Background
Lorem ipsum dolor sit amet.
#0540cc Color CSS Codes
.mybgcolor {background-color:#0540cc; } .myforecolor {color:#0540cc; } .mybordercolor {border:3px solid #0540cc; }
#0540cc Text Font Color
<p style="color:#0540cc">Text here</p>
This sample text font color is #0540cc
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.
#0540cc Background Color
<div style="background-color:#0540cc">
Div content here</div>
This div background color is #0540cc
#0540cc Border Color
<div style="border:3px solid #0540cc">
Div here</div>
This div border color is #0540cc
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(5,64,204, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #0540cc; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0540cc; -webkit-box-shadow: 1px 1px 3px 2px #0540cc; box-shadow: 1px 1px 3px 2px #0540cc; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(5,64,204, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #0540cc">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #0540cc; -webkit-box-shadow: 1px 1px 3px 2px #0540cc; box-shadow: 1px 1px 3px 2px #0540cc;">
Div content here</div>
This div box has shadow with color #0540cc
Comments
No comments written yet.
Please login to write comment.