HEX: #504975
RGB: (80,73,117)
#504975 contains red, green and blue colors in about the same proportion. Web safe color of #504975 is #663366 (or #636).
#504975 color RGB value is (80,73,117).
RGB: (80,73,117) (31%,29%,46%)
R 80 of 255 = 31%
G 73 of 255 = 29%
B 117 of 255 = 46%
R + G + B ~ 35%. #504975 is quite dark color.
R + G + B =
80 + 73 + 117 = 270 (100%)
R 80 of 270 ~ 29.63%
G 73 of 270 ~ 27.04%
B 117 of 270 ~ 43.33%
#504975 color CMYK value is (32,38,0,54).
CMYK: (32,38,0,54) C32M38Y0K54 (32%,38%,0%,54%) (0.32/0.38/0.00/0.54)
50 | 49 | 75 | |
---|---|---|---|
RGB | 80 | 73 | 117 |
HSL | 250° | 23.16% | 37.25% |
HSB/HSV | 250° | 37.61% | 45.88% |
CMYK | 31.62% | 37.61% | 0.00% |
54.12% |
HEX | 50 | 49 | 75 |
Decimal | 80 | 73 | 117 |
Binary | 1010000 | 1001001 | 1110101 |
Octal | 120 | 111 | 165 |
Examples of css and html codes for elements with #504975 color. Also use rgb(80,73,117) instead hex code.
.myTextColor { color: #504975; }
<p style="color:#504975">This sample text font color is #504975.</p>
This text font color is #504975.
.myBgColor { background-color: #504975; }
<div style="background-color:#504975">Inner text</div>
This div background color is #504975.
.myBorderColor { border: 1px solid #504975; }
<div style="border:3px solid #504975">Div</div>
This div border color is #504975.
.myOpacity80 { color: #504975; opacity: 0.8; }
<p style="color:#504975;opacity:0.8;">80%</p>
Text with #504975 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504975;}
<p style="text-shadow: 3px 3px 1px #504975">Text here.</p>
This text has shadow with #504975 color.
.textShadow {text-shadow: 3px 3px 1px #504975, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504975, 5px 5px 20px red">Text here.</p>
This text has shadow with #504975 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504975, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504975, Direction=45, Strength=4)">Text</p>
This text has shadow with #504975 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504975; -webkit-box-shadow: 1px 1px 3px 2px #504975; box-shadow: 1px 1px 3px 2px #504975; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504975; -webkit-box-shadow: 1px 1px 3px 2px #504975; box-shadow:1px 1px 3px 2px #504975;">
Div content here</div>
This text has color #504975 on black background.
This text has color #504975 on white background.
This text has black color on #504975 background.
This text has white color on #504975 background.