HEX: #7B427B
RGB: (123,66,123)
#7B427B contains red, green and blue colors in about the same proportion. Web safe color of #7B427B is #663366 (or #636).
#7B427B color RGB value is (123,66,123).
RGB: (123,66,123) (48%,26%,48%)
R 123 of 255 = 48%
G 66 of 255 = 26%
B 123 of 255 = 48%
R + G + B ~ 41%. #7B427B is middle color (not dark and not light).
R + G + B =
123 + 66 + 123 = 312 (100%)
R 123 of 312 ~ 39.42%
G 66 of 312 ~ 21.15%
B 123 of 312 ~ 39.42%
#7B427B color CMYK value is (0,46,0,52).
CMYK: (0,46,0,52) C0M46Y0K52 (0%,46%,0%,52%) (0.00/0.46/0.00/0.52)
7B | 42 | 7B | |
---|---|---|---|
RGB | 123 | 66 | 123 |
HSL | 300° | 30.16% | 37.06% |
HSB/HSV | 300° | 46.34% | 48.24% |
CMYK | 0.00% | 46.34% | 0.00% |
51.76% |
HEX | 7B | 42 | 7B |
Decimal | 123 | 66 | 123 |
Binary | 1111011 | 1000010 | 1111011 |
Octal | 173 | 102 | 173 |
Examples of css and html codes for elements with #7B427B color. Also use rgb(123,66,123) instead hex code.
.myTextColor { color: #7B427B; }
<p style="color:#7B427B">This sample text font color is #7B427B.</p>
This text font color is #7B427B.
.myBgColor { background-color: #7B427B; }
<div style="background-color:#7B427B">Inner text</div>
This div background color is #7B427B.
.myBorderColor { border: 1px solid #7B427B; }
<div style="border:3px solid #7B427B">Div</div>
This div border color is #7B427B.
.myOpacity80 { color: #7B427B; opacity: 0.8; }
<p style="color:#7B427B;opacity:0.8;">80%</p>
Text with #7B427B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B427B;}
<p style="text-shadow: 3px 3px 1px #7B427B">Text here.</p>
This text has shadow with #7B427B color.
.textShadow {text-shadow: 3px 3px 1px #7B427B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B427B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B427B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B427B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B427B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B427B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B427B; -webkit-box-shadow: 1px 1px 3px 2px #7B427B; box-shadow: 1px 1px 3px 2px #7B427B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B427B; -webkit-box-shadow: 1px 1px 3px 2px #7B427B; box-shadow:1px 1px 3px 2px #7B427B;">
Div content here</div>
This text has color #7B427B on black background.
This text has color #7B427B on white background.
This text has black color on #7B427B background.
This text has white color on #7B427B background.