HEX: #7B48AE
RGB: (123,72,174)
#7B48AE contains mainly red and blue colors. Web safe color of #7B48AE is #663399 (or #639).
#7B48AE color RGB value is (123,72,174).
RGB: (123,72,174) (48%,28%,68%)
R 123 of 255 = 48%
G 72 of 255 = 28%
B 174 of 255 = 68%
R + G + B ~ 48%. #7B48AE is middle color (not dark and not light).
R + G + B =
123 + 72 + 174 = 369 (100%)
R 123 of 369 ~ 33.33%
G 72 of 369 ~ 19.51%
B 174 of 369 ~ 47.15%
#7B48AE color CMYK value is (29,59,0,32).
CMYK: (29,59,0,32) C29M59Y0K32 (29%,59%,0%,32%) (0.29/0.59/0.00/0.32)
7B | 48 | AE | |
---|---|---|---|
RGB | 123 | 72 | 174 |
HSL | 270° | 41.46% | 48.24% |
HSB/HSV | 270° | 58.62% | 68.24% |
CMYK | 29.31% | 58.62% | 0.00% |
31.76% |
HEX | 7B | 48 | AE |
Decimal | 123 | 72 | 174 |
Binary | 1111011 | 1001000 | 10101110 |
Octal | 173 | 110 | 256 |
Examples of css and html codes for elements with #7B48AE color. Also use rgb(123,72,174) instead hex code.
.myTextColor { color: #7B48AE; }
<p style="color:#7B48AE">This sample text font color is #7B48AE.</p>
This text font color is #7B48AE.
.myBgColor { background-color: #7B48AE; }
<div style="background-color:#7B48AE">Inner text</div>
This div background color is #7B48AE.
.myBorderColor { border: 1px solid #7B48AE; }
<div style="border:3px solid #7B48AE">Div</div>
This div border color is #7B48AE.
.myOpacity80 { color: #7B48AE; opacity: 0.8; }
<p style="color:#7B48AE;opacity:0.8;">80%</p>
Text with #7B48AE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B48AE;}
<p style="text-shadow: 3px 3px 1px #7B48AE">Text here.</p>
This text has shadow with #7B48AE color.
.textShadow {text-shadow: 3px 3px 1px #7B48AE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B48AE, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B48AE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B48AE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B48AE, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B48AE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B48AE; -webkit-box-shadow: 1px 1px 3px 2px #7B48AE; box-shadow: 1px 1px 3px 2px #7B48AE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B48AE; -webkit-box-shadow: 1px 1px 3px 2px #7B48AE; box-shadow:1px 1px 3px 2px #7B48AE;">
Div content here</div>
This text has color #7B48AE on black background.
This text has color #7B48AE on white background.
This text has black color on #7B48AE background.
This text has white color on #7B48AE background.