HEX: #6B271C
RGB: (107,39,28)
#6B271C contains mainly red color. Web safe color of #6B271C is #663333 (or #633).
#6B271C color RGB value is (107,39,28).
RGB: (107,39,28) (42%,15%,11%)
R 107 of 255 = 42%
G 39 of 255 = 15%
B 28 of 255 = 11%
R + G + B ~ 23%. #6B271C is dark color.
R + G + B =
107 + 39 + 28 = 174 (100%)
R 107 of 174 ~ 61.49%
G 39 of 174 ~ 22.41%
B 28 of 174 ~ 16.09%
#6B271C color CMYK value is (0,64,74,58).
CMYK: (0,64,74,58) C0M64Y74K58 (0%,64%,74%,58%) (0.00/0.64/0.74/0.58)
6B | 27 | 1C | |
---|---|---|---|
RGB | 107 | 39 | 28 |
HSL | 8° | 58.52% | 26.47% |
HSB/HSV | 8° | 73.83% | 41.96% |
CMYK | 0.00% | 63.55% | 73.83% |
58.04% |
HEX | 6B | 27 | 1C |
Decimal | 107 | 39 | 28 |
Binary | 1101011 | 100111 | 11100 |
Octal | 153 | 47 | 34 |
Examples of css and html codes for elements with #6B271C color. Also use rgb(107,39,28) instead hex code.
.myTextColor { color: #6B271C; }
<p style="color:#6B271C">This sample text font color is #6B271C.</p>
This text font color is #6B271C.
.myBgColor { background-color: #6B271C; }
<div style="background-color:#6B271C">Inner text</div>
This div background color is #6B271C.
.myBorderColor { border: 1px solid #6B271C; }
<div style="border:3px solid #6B271C">Div</div>
This div border color is #6B271C.
.myOpacity80 { color: #6B271C; opacity: 0.8; }
<p style="color:#6B271C;opacity:0.8;">80%</p>
Text with #6B271C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B271C;}
<p style="text-shadow: 3px 3px 1px #6B271C">Text here.</p>
This text has shadow with #6B271C color.
.textShadow {text-shadow: 3px 3px 1px #6B271C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B271C, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B271C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B271C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B271C, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B271C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B271C; -webkit-box-shadow: 1px 1px 3px 2px #6B271C; box-shadow: 1px 1px 3px 2px #6B271C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B271C; -webkit-box-shadow: 1px 1px 3px 2px #6B271C; box-shadow:1px 1px 3px 2px #6B271C;">
Div content here</div>
This text has color #6B271C on black background.
This text has color #6B271C on white background.
This text has black color on #6B271C background.
This text has white color on #6B271C background.