HEX: #504188
RGB: (80,65,136)
#504188 contains mainly red and blue colors. Web safe color of #504188 is #663399 (or #639).
#504188 color RGB value is (80,65,136).
RGB: (80,65,136) (31%,25%,53%)
R 80 of 255 = 31%
G 65 of 255 = 25%
B 136 of 255 = 53%
R + G + B ~ 36%. #504188 is quite dark color.
R + G + B =
80 + 65 + 136 = 281 (100%)
R 80 of 281 ~ 28.47%
G 65 of 281 ~ 23.13%
B 136 of 281 ~ 48.4%
#504188 color CMYK value is (41,52,0,47).
CMYK: (41,52,0,47) C41M52Y0K47 (41%,52%,0%,47%) (0.41/0.52/0.00/0.47)
50 | 41 | 88 | |
---|---|---|---|
RGB | 80 | 65 | 136 |
HSL | 253° | 35.32% | 39.41% |
HSB/HSV | 253° | 52.21% | 53.33% |
CMYK | 41.18% | 52.21% | 0.00% |
46.67% |
HEX | 50 | 41 | 88 |
Decimal | 80 | 65 | 136 |
Binary | 1010000 | 1000001 | 10001000 |
Octal | 120 | 101 | 210 |
Examples of css and html codes for elements with #504188 color. Also use rgb(80,65,136) instead hex code.
.myTextColor { color: #504188; }
<p style="color:#504188">This sample text font color is #504188.</p>
This text font color is #504188.
.myBgColor { background-color: #504188; }
<div style="background-color:#504188">Inner text</div>
This div background color is #504188.
.myBorderColor { border: 1px solid #504188; }
<div style="border:3px solid #504188">Div</div>
This div border color is #504188.
.myOpacity80 { color: #504188; opacity: 0.8; }
<p style="color:#504188;opacity:0.8;">80%</p>
Text with #504188 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504188;}
<p style="text-shadow: 3px 3px 1px #504188">Text here.</p>
This text has shadow with #504188 color.
.textShadow {text-shadow: 3px 3px 1px #504188, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504188, 5px 5px 20px red">Text here.</p>
This text has shadow with #504188 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504188, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504188, Direction=45, Strength=4)">Text</p>
This text has shadow with #504188 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504188; -webkit-box-shadow: 1px 1px 3px 2px #504188; box-shadow: 1px 1px 3px 2px #504188; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504188; -webkit-box-shadow: 1px 1px 3px 2px #504188; box-shadow:1px 1px 3px 2px #504188;">
Div content here</div>
This text has color #504188 on black background.
This text has color #504188 on white background.
This text has black color on #504188 background.
This text has white color on #504188 background.