HEX: #6C71AC
RGB: (108,113,172)
#6C71AC contains mainly green and blue colors. Web safe color of #6C71AC is #666699 (or #669).
#6C71AC color RGB value is (108,113,172).
RGB: (108,113,172) (42%,44%,67%)
R 108 of 255 = 42%
G 113 of 255 = 44%
B 172 of 255 = 67%
R + G + B ~ 51%. #6C71AC is middle color (not dark and not light).
R + G + B =
108 + 113 + 172 = 393 (100%)
R 108 of 393 ~ 27.48%
G 113 of 393 ~ 28.75%
B 172 of 393 ~ 43.77%
#6C71AC color CMYK value is (37,34,0,33).
CMYK: (37,34,0,33) C37M34Y0K33 (37%,34%,0%,33%) (0.37/0.34/0.00/0.33)
6C | 71 | AC | |
---|---|---|---|
RGB | 108 | 113 | 172 |
HSL | 235° | 27.83% | 54.90% |
HSB/HSV | 235° | 37.21% | 67.45% |
CMYK | 37.21% | 34.30% | 0.00% |
32.55% |
HEX | 6C | 71 | AC |
Decimal | 108 | 113 | 172 |
Binary | 1101100 | 1110001 | 10101100 |
Octal | 154 | 161 | 254 |
Examples of css and html codes for elements with #6C71AC color. Also use rgb(108,113,172) instead hex code.
.myTextColor { color: #6C71AC; }
<p style="color:#6C71AC">This sample text font color is #6C71AC.</p>
This text font color is #6C71AC.
.myBgColor { background-color: #6C71AC; }
<div style="background-color:#6C71AC">Inner text</div>
This div background color is #6C71AC.
.myBorderColor { border: 1px solid #6C71AC; }
<div style="border:3px solid #6C71AC">Div</div>
This div border color is #6C71AC.
.myOpacity80 { color: #6C71AC; opacity: 0.8; }
<p style="color:#6C71AC;opacity:0.8;">80%</p>
Text with #6C71AC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C71AC;}
<p style="text-shadow: 3px 3px 1px #6C71AC">Text here.</p>
This text has shadow with #6C71AC color.
.textShadow {text-shadow: 3px 3px 1px #6C71AC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C71AC, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C71AC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C71AC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C71AC, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C71AC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C71AC; -webkit-box-shadow: 1px 1px 3px 2px #6C71AC; box-shadow: 1px 1px 3px 2px #6C71AC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C71AC; -webkit-box-shadow: 1px 1px 3px 2px #6C71AC; box-shadow:1px 1px 3px 2px #6C71AC;">
Div content here</div>
This text has color #6C71AC on black background.
This text has color #6C71AC on white background.
This text has black color on #6C71AC background.
This text has white color on #6C71AC background.