HEX: #52789D
RGB: (82,120,157)
#52789D contains mainly green and blue colors. Web safe color of #52789D is #666699 (or #669).
#52789D color RGB value is (82,120,157).
RGB: (82,120,157) (32%,47%,62%)
R 82 of 255 = 32%
G 120 of 255 = 47%
B 157 of 255 = 62%
R + G + B ~ 47%. #52789D is middle color (not dark and not light).
R + G + B =
82 + 120 + 157 = 359 (100%)
R 82 of 359 ~ 22.84%
G 120 of 359 ~ 33.43%
B 157 of 359 ~ 43.73%
#52789D color CMYK value is (48,24,0,38).
CMYK: (48,24,0,38) C48M24Y0K38 (48%,24%,0%,38%) (0.48/0.24/0.00/0.38)
52 | 78 | 9D | |
---|---|---|---|
RGB | 82 | 120 | 157 |
HSL | 210° | 31.38% | 46.86% |
HSB/HSV | 210° | 47.77% | 61.57% |
CMYK | 47.77% | 23.57% | 0.00% |
38.43% |
HEX | 52 | 78 | 9D |
Decimal | 82 | 120 | 157 |
Binary | 1010010 | 1111000 | 10011101 |
Octal | 122 | 170 | 235 |
Examples of css and html codes for elements with #52789D color. Also use rgb(82,120,157) instead hex code.
.myTextColor { color: #52789D; }
<p style="color:#52789D">This sample text font color is #52789D.</p>
This text font color is #52789D.
.myBgColor { background-color: #52789D; }
<div style="background-color:#52789D">Inner text</div>
This div background color is #52789D.
.myBorderColor { border: 1px solid #52789D; }
<div style="border:3px solid #52789D">Div</div>
This div border color is #52789D.
.myOpacity80 { color: #52789D; opacity: 0.8; }
<p style="color:#52789D;opacity:0.8;">80%</p>
Text with #52789D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52789D;}
<p style="text-shadow: 3px 3px 1px #52789D">Text here.</p>
This text has shadow with #52789D color.
.textShadow {text-shadow: 3px 3px 1px #52789D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52789D, 5px 5px 20px red">Text here.</p>
This text has shadow with #52789D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52789D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52789D, Direction=45, Strength=4)">Text</p>
This text has shadow with #52789D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52789D; -webkit-box-shadow: 1px 1px 3px 2px #52789D; box-shadow: 1px 1px 3px 2px #52789D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52789D; -webkit-box-shadow: 1px 1px 3px 2px #52789D; box-shadow:1px 1px 3px 2px #52789D;">
Div content here</div>
This text has color #52789D on black background.
This text has color #52789D on white background.
This text has black color on #52789D background.
This text has white color on #52789D background.