Color spaces of #2a5997
RGB | 42 | 89 | 151 |
---|---|---|---|
HSL | 0.59 | 0.56 | 0.38 |
HSV | 214° | 72° | 59° |
CMYK | 0.72 | 0.41 | 0.00 0.41 |
XYZ | 10.1131 | 9.8714 | 30.6505 |
Yxy | 9.8714 | 0.1997 | 0.1950 |
Hunter Lab | 31.4188 | 2.4728 | -35.8470 |
CIE-Lab | 37.6106 | 5.8489 | -38.6437 |
#2a5997 color RGB value is (42,89,151).
#2a5997 hex color red value is 42, green value is 89 and the blue value of its RGB is 151. Cylindrical-coordinate representations (also known as HSL) of color #2a5997 hue: 0.59 , saturation: 0.56 and the lightness value of 2a5997 is 0.38.
The process color (four color CMYK) of #2a5997 color hex is 0.72, 0.41, 0.00, 0.41. Web safe color of #2a5997 is #336699. Color #2a5997 contains mainly BLUE color.
Base Numbers
Base | Red | Green | Blue |
---|---|---|---|
Binary | 00101010 | 01011001 | 10010111 |
Octal | 52 | 131 | 227 |
Decimal | 42 | 89 | 151 |
Hex | 2A | 59 | 97 |
Shades of #2a5997
Tints of #2a5997
RGB Percentages of Color #2a5997
CMYK Percentages of Color #2a5997
Complementary Color
#2a5997 | #97682a |
#2a5997 Color Preview on Black Background
Lorem ipsum dolor sit amet.
#2a5997 Color Preview on White Background
Lorem ipsum dolor sit amet.
#2a5997 Color CSS Codes
.mybgcolor {background-color:#2a5997; } .myforecolor {color:#2a5997; } .mybordercolor {border:3px solid #2a5997; }
#2a5997 Text Font Color
<p style="color:#2a5997">Text here</p>
This sample text font color is #2a5997
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.
#2a5997 Background Color
<div style="background-color:#2a5997">
Div content here</div>
This div background color is #2a5997
#2a5997 Border Color
<div style="border:3px solid #2a5997">
Div here</div>
This div border color is #2a5997
Css3 Examples
.textShadowRgb { text-shadow: 4px 4px 2px rgba(42,89,151, 0.8); } .textShadowHex { text-shadow: 4px 4px 2px #2a5997; } .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2a5997; -webkit-box-shadow: 1px 1px 3px 2px #2a5997; box-shadow: 1px 1px 3px 2px #2a5997; }
Text Shadow with RGB Values
<p style="text-shadow: 4px 4px 2px rgba(42,89,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 #2a5997">Text here</p>
This text has shadow with hex values.
Div Box Shadow
<div style="-moz-box-shadow: 1px 1px 3px 2px #2a5997; -webkit-box-shadow: 1px 1px 3px 2px #2a5997; box-shadow: 1px 1px 3px 2px #2a5997;">
Div content here</div>
This div box has shadow with color #2a5997
Comments
No comments written yet.
Please login to write comment.