HEX: #7B507E
RGB: (123,80,126)
#7B507E contains red, green and blue colors in about the same proportion. Web safe color of #7B507E is #666666 (or #666).
#7B507E color RGB value is (123,80,126).
RGB: (123,80,126)
(48%, 31%, 49%)
R 123 of 255 = 48%
G 80 of 255 = 31%
B 126 of 255 = 49%
R + G + B ~ 43%. #7B507E is middle color (not dark and not light).
R + G + B = 123 + 80 + 126 = 329 (100%)
R 123 of 329 ~ 37.39%
G 80 of 329 ~ 24.32%
B 126 of 329 ~ 38.3'%
#7B507E color CMYK value is (2,37,0,51).
CMYK: (2,37,0,51)
C2M37Y0K51 (2%, 37%, 0%, 51%)
(0.02 / 0.37 / 0.00 / 0.51)
Color #7B507E in popluar color models
7B | 50 | 7E | |
---|---|---|---|
RGB | 123 | 80 | 126 |
HSL | 296° | 22.33% | 40.39% |
HSB/HSV | 296° | 36.51% | 49.41% |
CMYK | 2.38% | 36.51% | 0.00% |
50.59% |
Color #7B507E in popluar number systems.
HEX | 7B | 50 | 7E |
Decimal | 123 | 80 | 126 |
Binary | 1111011 | 1010000 | 1111110 |
Octal | 173 | 120 | 176 |
Shades of #7B507E
Tints of #7B507E
Examples of css and html codes for elements with #7B507E color. Also use rgb(123,80,126) instead hex code.
.myTextColor { color: #7B507E; }
<p style="color:#7B507E">This sample text font color is #7B507E.</p>
This text font color is #7B507E.
.myBgColor { background-color: #7B507E; }
<div style="background-color:#7B507E">Inner text</div>
This div background color is #7B507E.
.myBorderColor { border: 1px solid #7B507E; }
<div style="border:3px solid #7B507E">Div</div>
This div border color is #7B507E.
.myOpacity80 { color: #7B507E; opacity: 0.8; }
<p style="color:#7B507E;opacity:0.8;">80%</p>
Text with #7B507E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B507E;}
<p style="text-shadow: 3px 3px 1px #7B507E">Text here.</p>
This text has shadow with #7B507E color.
.textShadow {text-shadow: 3px 3px 1px #7B507E', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B507E, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B507E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B507E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B507E, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B507E and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #7B507E;
-webkit-box-shadow: 1px 1px 3px 2px #7B507E;
box-shadow: 1px 1px 3px 2px #7B507E;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #7B507E; -webkit-box-shadow: 1px 1px 3px 2px #7B507E; box-shadow:1px 1px 3px 2px #7B507E;">
Div content here
</div>
This text has color #7B507E on black background.
This text has color #7B507E on white background.
This text has black color on #7B507E background.
This text has white color on #7B507E background.
Complementary color for #hex is #84AF81.