HEX: #5253AB
RGB: (82,83,171)
#5253AB contains mainly blue color. Web safe color of #5253AB is #666699 (or #669).
#5253AB color RGB value is (82,83,171).
RGB: (82,83,171) (32%,33%,67%)
R 82 of 255 = 32%
G 83 of 255 = 33%
B 171 of 255 = 67%
R + G + B ~ 44%. #5253AB is middle color (not dark and not light).
R + G + B =
82 + 83 + 171 = 336 (100%)
R 82 of 336 ~ 24.4%
G 83 of 336 ~ 24.7%
B 171 of 336 ~ 50.89%
#5253AB color CMYK value is (52,51,0,33).
CMYK: (52,51,0,33) C52M51Y0K33 (52%,51%,0%,33%) (0.52/0.51/0.00/0.33)
52 | 53 | AB | |
---|---|---|---|
RGB | 82 | 83 | 171 |
HSL | 239° | 35.18% | 49.61% |
HSB/HSV | 239° | 52.05% | 67.06% |
CMYK | 52.05% | 51.46% | 0.00% |
32.94% |
HEX | 52 | 53 | AB |
Decimal | 82 | 83 | 171 |
Binary | 1010010 | 1010011 | 10101011 |
Octal | 122 | 123 | 253 |
Examples of css and html codes for elements with #5253AB color. Also use rgb(82,83,171) instead hex code.
.myTextColor { color: #5253AB; }
<p style="color:#5253AB">This sample text font color is #5253AB.</p>
This text font color is #5253AB.
.myBgColor { background-color: #5253AB; }
<div style="background-color:#5253AB">Inner text</div>
This div background color is #5253AB.
.myBorderColor { border: 1px solid #5253AB; }
<div style="border:3px solid #5253AB">Div</div>
This div border color is #5253AB.
.myOpacity80 { color: #5253AB; opacity: 0.8; }
<p style="color:#5253AB;opacity:0.8;">80%</p>
Text with #5253AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5253AB;}
<p style="text-shadow: 3px 3px 1px #5253AB">Text here.</p>
This text has shadow with #5253AB color.
.textShadow {text-shadow: 3px 3px 1px #5253AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5253AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #5253AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5253AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5253AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #5253AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5253AB; -webkit-box-shadow: 1px 1px 3px 2px #5253AB; box-shadow: 1px 1px 3px 2px #5253AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5253AB; -webkit-box-shadow: 1px 1px 3px 2px #5253AB; box-shadow:1px 1px 3px 2px #5253AB;">
Div content here</div>
This text has color #5253AB on black background.
This text has color #5253AB on white background.
This text has black color on #5253AB background.
This text has white color on #5253AB background.