HEX: #7B46AF
RGB: (123,70,175)
#7B46AF contains mainly red and blue colors. Web safe color of #7B46AF is #663399 (or #639).
#7B46AF color RGB value is (123,70,175).
RGB: (123,70,175) (48%,27%,69%)
R 123 of 255 = 48%
G 70 of 255 = 27%
B 175 of 255 = 69%
R + G + B ~ 48%. #7B46AF is middle color (not dark and not light).
R + G + B =
123 + 70 + 175 = 368 (100%)
R 123 of 368 ~ 33.42%
G 70 of 368 ~ 19.02%
B 175 of 368 ~ 47.55%
#7B46AF color CMYK value is (30,60,0,31).
CMYK: (30,60,0,31) C30M60Y0K31 (30%,60%,0%,31%) (0.30/0.60/0.00/0.31)
7B | 46 | AF | |
---|---|---|---|
RGB | 123 | 70 | 175 |
HSL | 270° | 42.86% | 48.04% |
HSB/HSV | 270° | 60.00% | 68.63% |
CMYK | 29.71% | 60.00% | 0.00% |
31.37% |
HEX | 7B | 46 | AF |
Decimal | 123 | 70 | 175 |
Binary | 1111011 | 1000110 | 10101111 |
Octal | 173 | 106 | 257 |
Examples of css and html codes for elements with #7B46AF color. Also use rgb(123,70,175) instead hex code.
.myTextColor { color: #7B46AF; }
<p style="color:#7B46AF">This sample text font color is #7B46AF.</p>
This text font color is #7B46AF.
.myBgColor { background-color: #7B46AF; }
<div style="background-color:#7B46AF">Inner text</div>
This div background color is #7B46AF.
.myBorderColor { border: 1px solid #7B46AF; }
<div style="border:3px solid #7B46AF">Div</div>
This div border color is #7B46AF.
.myOpacity80 { color: #7B46AF; opacity: 0.8; }
<p style="color:#7B46AF;opacity:0.8;">80%</p>
Text with #7B46AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B46AF;}
<p style="text-shadow: 3px 3px 1px #7B46AF">Text here.</p>
This text has shadow with #7B46AF color.
.textShadow {text-shadow: 3px 3px 1px #7B46AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B46AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B46AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B46AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B46AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B46AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B46AF; -webkit-box-shadow: 1px 1px 3px 2px #7B46AF; box-shadow: 1px 1px 3px 2px #7B46AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B46AF; -webkit-box-shadow: 1px 1px 3px 2px #7B46AF; box-shadow:1px 1px 3px 2px #7B46AF;">
Div content here</div>
This text has color #7B46AF on black background.
This text has color #7B46AF on white background.
This text has black color on #7B46AF background.
This text has white color on #7B46AF background.