HEX: #504A6A
RGB: (80,74,106)
#504A6A contains red, green and blue colors in about the same proportion. Web safe color of #504A6A is #663366 (or #636).
#504A6A color RGB value is (80,74,106).
RGB: (80,74,106) (31%,29%,42%)
R 80 of 255 = 31%
G 74 of 255 = 29%
B 106 of 255 = 42%
R + G + B ~ 34%. #504A6A is quite dark color.
R + G + B =
80 + 74 + 106 = 260 (100%)
R 80 of 260 ~ 30.77%
G 74 of 260 ~ 28.46%
B 106 of 260 ~ 40.77%
#504A6A color CMYK value is (25,30,0,58).
CMYK: (25,30,0,58) C25M30Y0K58 (25%,30%,0%,58%) (0.25/0.30/0.00/0.58)
50 | 4A | 6A | |
---|---|---|---|
RGB | 80 | 74 | 106 |
HSL | 251° | 17.78% | 35.29% |
HSB/HSV | 251° | 30.19% | 41.57% |
CMYK | 24.53% | 30.19% | 0.00% |
58.43% |
HEX | 50 | 4A | 6A |
Decimal | 80 | 74 | 106 |
Binary | 1010000 | 1001010 | 1101010 |
Octal | 120 | 112 | 152 |
Examples of css and html codes for elements with #504A6A color. Also use rgb(80,74,106) instead hex code.
.myTextColor { color: #504A6A; }
<p style="color:#504A6A">This sample text font color is #504A6A.</p>
This text font color is #504A6A.
.myBgColor { background-color: #504A6A; }
<div style="background-color:#504A6A">Inner text</div>
This div background color is #504A6A.
.myBorderColor { border: 1px solid #504A6A; }
<div style="border:3px solid #504A6A">Div</div>
This div border color is #504A6A.
.myOpacity80 { color: #504A6A; opacity: 0.8; }
<p style="color:#504A6A;opacity:0.8;">80%</p>
Text with #504A6A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504A6A;}
<p style="text-shadow: 3px 3px 1px #504A6A">Text here.</p>
This text has shadow with #504A6A color.
.textShadow {text-shadow: 3px 3px 1px #504A6A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504A6A, 5px 5px 20px red">Text here.</p>
This text has shadow with #504A6A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504A6A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504A6A, Direction=45, Strength=4)">Text</p>
This text has shadow with #504A6A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504A6A; -webkit-box-shadow: 1px 1px 3px 2px #504A6A; box-shadow: 1px 1px 3px 2px #504A6A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504A6A; -webkit-box-shadow: 1px 1px 3px 2px #504A6A; box-shadow:1px 1px 3px 2px #504A6A;">
Div content here</div>
This text has color #504A6A on black background.
This text has color #504A6A on white background.
This text has black color on #504A6A background.
This text has white color on #504A6A background.