HEX: #6C71B3
RGB: (108,113,179)
#6C71B3 contains mainly blue color. Web safe color of #6C71B3 is #666699 (or #669).
#6C71B3 color RGB value is (108,113,179).
RGB: (108,113,179) (42%,44%,70%)
R 108 of 255 = 42%
G 113 of 255 = 44%
B 179 of 255 = 70%
R + G + B ~ 52%. #6C71B3 is middle color (not dark and not light).
R + G + B =
108 + 113 + 179 = 400 (100%)
R 108 of 400 ~ 27%
G 113 of 400 ~ 28.25%
B 179 of 400 ~ 44.75%
#6C71B3 color CMYK value is (40,37,0,30).
CMYK: (40,37,0,30) C40M37Y0K30 (40%,37%,0%,30%) (0.40/0.37/0.00/0.30)
6C | 71 | B3 | |
---|---|---|---|
RGB | 108 | 113 | 179 |
HSL | 236° | 31.84% | 56.27% |
HSB/HSV | 236° | 39.66% | 70.20% |
CMYK | 39.66% | 36.87% | 0.00% |
29.80% |
HEX | 6C | 71 | B3 |
Decimal | 108 | 113 | 179 |
Binary | 1101100 | 1110001 | 10110011 |
Octal | 154 | 161 | 263 |
Examples of css and html codes for elements with #6C71B3 color. Also use rgb(108,113,179) instead hex code.
.myTextColor { color: #6C71B3; }
<p style="color:#6C71B3">This sample text font color is #6C71B3.</p>
This text font color is #6C71B3.
.myBgColor { background-color: #6C71B3; }
<div style="background-color:#6C71B3">Inner text</div>
This div background color is #6C71B3.
.myBorderColor { border: 1px solid #6C71B3; }
<div style="border:3px solid #6C71B3">Div</div>
This div border color is #6C71B3.
.myOpacity80 { color: #6C71B3; opacity: 0.8; }
<p style="color:#6C71B3;opacity:0.8;">80%</p>
Text with #6C71B3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C71B3;}
<p style="text-shadow: 3px 3px 1px #6C71B3">Text here.</p>
This text has shadow with #6C71B3 color.
.textShadow {text-shadow: 3px 3px 1px #6C71B3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C71B3, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C71B3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C71B3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C71B3, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C71B3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C71B3; -webkit-box-shadow: 1px 1px 3px 2px #6C71B3; box-shadow: 1px 1px 3px 2px #6C71B3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C71B3; -webkit-box-shadow: 1px 1px 3px 2px #6C71B3; box-shadow:1px 1px 3px 2px #6C71B3;">
Div content here</div>
This text has color #6C71B3 on black background.
This text has color #6C71B3 on white background.
This text has black color on #6C71B3 background.
This text has white color on #6C71B3 background.