HEX: #5255AB
RGB: (82,85,171)
#5255AB contains mainly blue color. Web safe color of #5255AB is #666699 (or #669).
#5255AB color RGB value is (82,85,171).
RGB: (82,85,171)
(32%, 33%, 67%)
R 82 of 255 = 32%
G 85 of 255 = 33%
B 171 of 255 = 67%
R + G + B ~ 44%. #5255AB is middle color (not dark and not light).
R + G + B = 82 + 85 + 171 = 338 (100%)
R 82 of 338 ~ 24.26%
G 85 of 338 ~ 25.15%
B 171 of 338 ~ 50.59'%
#5255AB color CMYK value is (52,50,0,33).
CMYK: (52,50,0,33)
C52M50Y0K33 (52%, 50%, 0%, 33%)
(0.52 / 0.50 / 0.00 / 0.33)
Color #5255AB in popluar color models
52 | 55 | AB | |
---|---|---|---|
RGB | 82 | 85 | 171 |
HSL | 238° | 35.18% | 49.61% |
HSB/HSV | 238° | 52.05% | 67.06% |
CMYK | 52.05% | 50.29% | 0.00% |
32.94% |
Color #5255AB in popluar number systems.
HEX | 52 | 55 | AB |
Decimal | 82 | 85 | 171 |
Binary | 1010010 | 1010101 | 10101011 |
Octal | 122 | 125 | 253 |
Shades of #5255AB
Tints of #5255AB
Examples of css and html codes for elements with #5255AB color. Also use rgb(82,85,171) instead hex code.
.myTextColor { color: #5255AB; }
<p style="color:#5255AB">This sample text font color is #5255AB.</p>
This text font color is #5255AB.
.myBgColor { background-color: #5255AB; }
<div style="background-color:#5255AB">Inner text</div>
This div background color is #5255AB.
.myBorderColor { border: 1px solid #5255AB; }
<div style="border:3px solid #5255AB">Div</div>
This div border color is #5255AB.
.myOpacity80 { color: #5255AB; opacity: 0.8; }
<p style="color:#5255AB;opacity:0.8;">80%</p>
Text with #5255AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5255AB;}
<p style="text-shadow: 3px 3px 1px #5255AB">Text here.</p>
This text has shadow with #5255AB color.
.textShadow {text-shadow: 3px 3px 1px #5255AB', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5255AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #5255AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5255AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5255AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #5255AB and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #5255AB;
-webkit-box-shadow: 1px 1px 3px 2px #5255AB;
box-shadow: 1px 1px 3px 2px #5255AB;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #5255AB; -webkit-box-shadow: 1px 1px 3px 2px #5255AB; box-shadow:1px 1px 3px 2px #5255AB;">
Div content here
</div>
This text has color #5255AB on black background.
This text has color #5255AB on white background.
This text has black color on #5255AB background.
This text has white color on #5255AB background.
Complementary color for #hex is #ADAA54.