HEX: #7D48CE
RGB: (125,72,206)
#7D48CE contains mainly blue color. Web safe color of #7D48CE is #6633CC (or #63C).
#7D48CE color RGB value is (125,72,206).
RGB: (125,72,206) (49%,28%,81%)
R 125 of 255 = 49%
G 72 of 255 = 28%
B 206 of 255 = 81%
R + G + B ~ 53%. #7D48CE is middle color (not dark and not light).
R + G + B =
125 + 72 + 206 = 403 (100%)
R 125 of 403 ~ 31.02%
G 72 of 403 ~ 17.87%
B 206 of 403 ~ 51.12%
#7D48CE color CMYK value is (39,65,0,19).
CMYK: (39,65,0,19) C39M65Y0K19 (39%,65%,0%,19%) (0.39/0.65/0.00/0.19)
7D | 48 | CE | |
---|---|---|---|
RGB | 125 | 72 | 206 |
HSL | 264° | 57.76% | 54.51% |
HSB/HSV | 264° | 65.05% | 80.78% |
CMYK | 39.32% | 65.05% | 0.00% |
19.22% |
HEX | 7D | 48 | CE |
Decimal | 125 | 72 | 206 |
Binary | 1111101 | 1001000 | 11001110 |
Octal | 175 | 110 | 316 |
Examples of css and html codes for elements with #7D48CE color. Also use rgb(125,72,206) instead hex code.
.myTextColor { color: #7D48CE; }
<p style="color:#7D48CE">This sample text font color is #7D48CE.</p>
This text font color is #7D48CE.
.myBgColor { background-color: #7D48CE; }
<div style="background-color:#7D48CE">Inner text</div>
This div background color is #7D48CE.
.myBorderColor { border: 1px solid #7D48CE; }
<div style="border:3px solid #7D48CE">Div</div>
This div border color is #7D48CE.
.myOpacity80 { color: #7D48CE; opacity: 0.8; }
<p style="color:#7D48CE;opacity:0.8;">80%</p>
Text with #7D48CE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D48CE;}
<p style="text-shadow: 3px 3px 1px #7D48CE">Text here.</p>
This text has shadow with #7D48CE color.
.textShadow {text-shadow: 3px 3px 1px #7D48CE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D48CE, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D48CE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D48CE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D48CE, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D48CE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D48CE; -webkit-box-shadow: 1px 1px 3px 2px #7D48CE; box-shadow: 1px 1px 3px 2px #7D48CE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D48CE; -webkit-box-shadow: 1px 1px 3px 2px #7D48CE; box-shadow:1px 1px 3px 2px #7D48CE;">
Div content here</div>
This text has color #7D48CE on black background.
This text has color #7D48CE on white background.
This text has black color on #7D48CE background.
This text has white color on #7D48CE background.