Color spaces of #0504ab
RGB | 5 | 4 | 171 |
---|---|---|---|
HSL | 0.67 | 0.95 | 0.34 |
HSV | 240° | 98° | 67° |
CMYK | 0.97 | 0.98 | 0.00 0.33 |
XYZ | 7.4567 | 3.0594 | 38.7256 |
Yxy | 3.0594 | 0.1514 | 0.0621 |
Hunter Lab | 17.4911 | 45.4874 | -119.0250 |
CIE-Lab | 20.2802 | 57.6652 | -79.1499 |
#0504ab color RGB value is (5,4,171).
#0504ab hex color red value is 5, green value is 4 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #0504ab hue: 0.67 , saturation: 0.95 and the lightness value of 0504ab is 0.34.
The process color (four color CMYK) of #0504ab color hex is 0.97, 0.98, 0.00, 0.33. Web safe color of #0504ab is #000099. Color #0504ab contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00000101 | 00000100 | 10101011 |
Octal | 5 | 4 | 253 |
Decimal | 5 | 4 | 171 |
Hex | 5 | 4 | AB |
Shades of #0504ab
Tints of #0504ab
RGB Percentages of Color #0504ab
CMYK Percentages of Color #0504ab
Complementary Color
#0504ab | #aaab04 |
#0504ab Color Preview on Black Background
Lorem ipsum dolor sit amet.
#0504ab Color Preview on White Background
Lorem ipsum dolor sit amet.
#0504ab Color CSS Codes
.mybgcolor {background-color:#0504ab; } .myforecolor {color:#0504ab; } .mybordercolor {border:3px solid #0504ab; }
#0504ab Text Font Color
<p style="color:#0504ab">Text here</p>
This sample text font color is #0504ab
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.
#0504ab Background Color
<div style="background-color:#0504ab">
Div content here</div>
This div background color is #0504ab
#0504ab Border Color
<div style="border:3px solid #0504ab">
Div here</div>
This div border color is #0504ab
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(5,4,171, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #0504ab; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0504ab; -webkit-box-shadow: 1px 1px 3px 2px #0504ab; box-shadow: 1px 1px 3px 2px #0504ab; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(5,4,171, 0.8);">Text here</p>
This text has shadow with rgb values.
Text Shadow with Hex Values
<p style="text-shadow: 4px 4px 2px #0504ab">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #0504ab; -webkit-box-shadow: 1px 1px 3px 2px #0504ab; box-shadow: 1px 1px 3px 2px #0504ab;">
Div content here</div>
This div box has shadow with color #0504ab
Comments
No comments written yet.
Please login to write comment.