HEX: #6B146C
RGB: (107,20,108)
#6B146C contains mainly red and blue colors. Web safe color of #6B146C is #660066 (or #606).
#6B146C color RGB value is (107,20,108).
RGB: (107,20,108) (42%,8%,42%)
R 107 of 255 = 42%
G 20 of 255 = 8%
B 108 of 255 = 42%
R + G + B ~ 31%. #6B146C is quite dark color.
R + G + B =
107 + 20 + 108 = 235 (100%)
R 107 of 235 ~ 45.53%
G 20 of 235 ~ 8.51%
B 108 of 235 ~ 45.96%
#6B146C color CMYK value is (1,81,0,58).
CMYK: (1,81,0,58) C1M81Y0K58 (1%,81%,0%,58%) (0.01/0.81/0.00/0.58)
6B | 14 | 6C | |
---|---|---|---|
RGB | 107 | 20 | 108 |
HSL | 299° | 68.75% | 25.10% |
HSB/HSV | 299° | 81.48% | 42.35% |
CMYK | 0.93% | 81.48% | 0.00% |
57.65% |
HEX | 6B | 14 | 6C |
Decimal | 107 | 20 | 108 |
Binary | 1101011 | 10100 | 1101100 |
Octal | 153 | 24 | 154 |
Examples of css and html codes for elements with #6B146C color. Also use rgb(107,20,108) instead hex code.
.myTextColor { color: #6B146C; }
<p style="color:#6B146C">This sample text font color is #6B146C.</p>
This text font color is #6B146C.
.myBgColor { background-color: #6B146C; }
<div style="background-color:#6B146C">Inner text</div>
This div background color is #6B146C.
.myBorderColor { border: 1px solid #6B146C; }
<div style="border:3px solid #6B146C">Div</div>
This div border color is #6B146C.
.myOpacity80 { color: #6B146C; opacity: 0.8; }
<p style="color:#6B146C;opacity:0.8;">80%</p>
Text with #6B146C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B146C;}
<p style="text-shadow: 3px 3px 1px #6B146C">Text here.</p>
This text has shadow with #6B146C color.
.textShadow {text-shadow: 3px 3px 1px #6B146C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B146C, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B146C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B146C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B146C, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B146C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B146C; -webkit-box-shadow: 1px 1px 3px 2px #6B146C; box-shadow: 1px 1px 3px 2px #6B146C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B146C; -webkit-box-shadow: 1px 1px 3px 2px #6B146C; box-shadow:1px 1px 3px 2px #6B146C;">
Div content here</div>
This text has color #6B146C on black background.
This text has color #6B146C on white background.
This text has black color on #6B146C background.
This text has white color on #6B146C background.