HEX: #6E3171
RGB: (110,49,113)
#6E3171 contains mainly red and blue colors. Web safe color of #6E3171 is #663366 (or #636).
#6E3171 color RGB value is (110,49,113).
RGB: (110,49,113) (43%,19%,44%)
R 110 of 255 = 43%
G 49 of 255 = 19%
B 113 of 255 = 44%
R + G + B ~ 35%. #6E3171 is quite dark color.
R + G + B =
110 + 49 + 113 = 272 (100%)
R 110 of 272 ~ 40.44%
G 49 of 272 ~ 18.01%
B 113 of 272 ~ 41.54%
#6E3171 color CMYK value is (3,57,0,56).
CMYK: (3,57,0,56) C3M57Y0K56 (3%,57%,0%,56%) (0.03/0.57/0.00/0.56)
6E | 31 | 71 | |
---|---|---|---|
RGB | 110 | 49 | 113 |
HSL | 297° | 39.51% | 31.76% |
HSB/HSV | 297° | 56.64% | 44.31% |
CMYK | 2.65% | 56.64% | 0.00% |
55.69% |
HEX | 6E | 31 | 71 |
Decimal | 110 | 49 | 113 |
Binary | 1101110 | 110001 | 1110001 |
Octal | 156 | 61 | 161 |
Examples of css and html codes for elements with #6E3171 color. Also use rgb(110,49,113) instead hex code.
.myTextColor { color: #6E3171; }
<p style="color:#6E3171">This sample text font color is #6E3171.</p>
This text font color is #6E3171.
.myBgColor { background-color: #6E3171; }
<div style="background-color:#6E3171">Inner text</div>
This div background color is #6E3171.
.myBorderColor { border: 1px solid #6E3171; }
<div style="border:3px solid #6E3171">Div</div>
This div border color is #6E3171.
.myOpacity80 { color: #6E3171; opacity: 0.8; }
<p style="color:#6E3171;opacity:0.8;">80%</p>
Text with #6E3171 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E3171;}
<p style="text-shadow: 3px 3px 1px #6E3171">Text here.</p>
This text has shadow with #6E3171 color.
.textShadow {text-shadow: 3px 3px 1px #6E3171, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E3171, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E3171 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E3171, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E3171, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E3171 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E3171; -webkit-box-shadow: 1px 1px 3px 2px #6E3171; box-shadow: 1px 1px 3px 2px #6E3171; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E3171; -webkit-box-shadow: 1px 1px 3px 2px #6E3171; box-shadow:1px 1px 3px 2px #6E3171;">
Div content here</div>
This text has color #6E3171 on black background.
This text has color #6E3171 on white background.
This text has black color on #6E3171 background.
This text has white color on #6E3171 background.