HEX: #6C4ACE
RGB: (108,74,206)
#6C4ACE contains mainly blue color. Web safe color of #6C4ACE is #6633CC (or #63C).
#6C4ACE color RGB value is (108,74,206).
RGB: (108,74,206) (42%,29%,81%)
R 108 of 255 = 42%
G 74 of 255 = 29%
B 206 of 255 = 81%
R + G + B ~ 51%. #6C4ACE is middle color (not dark and not light).
R + G + B =
108 + 74 + 206 = 388 (100%)
R 108 of 388 ~ 27.84%
G 74 of 388 ~ 19.07%
B 206 of 388 ~ 53.09%
#6C4ACE color CMYK value is (48,64,0,19).
CMYK: (48,64,0,19) C48M64Y0K19 (48%,64%,0%,19%) (0.48/0.64/0.00/0.19)
6C | 4A | CE | |
---|---|---|---|
RGB | 108 | 74 | 206 |
HSL | 255° | 57.39% | 54.90% |
HSB/HSV | 255° | 64.08% | 80.78% |
CMYK | 47.57% | 64.08% | 0.00% |
19.22% |
HEX | 6C | 4A | CE |
Decimal | 108 | 74 | 206 |
Binary | 1101100 | 1001010 | 11001110 |
Octal | 154 | 112 | 316 |
Examples of css and html codes for elements with #6C4ACE color. Also use rgb(108,74,206) instead hex code.
.myTextColor { color: #6C4ACE; }
<p style="color:#6C4ACE">This sample text font color is #6C4ACE.</p>
This text font color is #6C4ACE.
.myBgColor { background-color: #6C4ACE; }
<div style="background-color:#6C4ACE">Inner text</div>
This div background color is #6C4ACE.
.myBorderColor { border: 1px solid #6C4ACE; }
<div style="border:3px solid #6C4ACE">Div</div>
This div border color is #6C4ACE.
.myOpacity80 { color: #6C4ACE; opacity: 0.8; }
<p style="color:#6C4ACE;opacity:0.8;">80%</p>
Text with #6C4ACE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C4ACE;}
<p style="text-shadow: 3px 3px 1px #6C4ACE">Text here.</p>
This text has shadow with #6C4ACE color.
.textShadow {text-shadow: 3px 3px 1px #6C4ACE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C4ACE, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C4ACE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C4ACE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C4ACE, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C4ACE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C4ACE; -webkit-box-shadow: 1px 1px 3px 2px #6C4ACE; box-shadow: 1px 1px 3px 2px #6C4ACE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C4ACE; -webkit-box-shadow: 1px 1px 3px 2px #6C4ACE; box-shadow:1px 1px 3px 2px #6C4ACE;">
Div content here</div>
This text has color #6C4ACE on black background.
This text has color #6C4ACE on white background.
This text has black color on #6C4ACE background.
This text has white color on #6C4ACE background.