HEX: #6B727A
RGB: (107,114,122)
#6B727A contains red, green and blue colors in about the same proportion. Web safe color of #6B727A is #666666 (or #666).
#6B727A color RGB value is (107,114,122).
RGB: (107,114,122) (42%,45%,48%)
R 107 of 255 = 42%
G 114 of 255 = 45%
B 122 of 255 = 48%
R + G + B ~ 45%. #6B727A is middle color (not dark and not light).
R + G + B =
107 + 114 + 122 = 343 (100%)
R 107 of 343 ~ 31.2%
G 114 of 343 ~ 33.24%
B 122 of 343 ~ 35.57%
#6B727A color CMYK value is (12,7,0,52).
CMYK: (12,7,0,52) C12M7Y0K52 (12%,7%,0%,52%) (0.12/0.07/0.00/0.52)
6B | 72 | 7A | |
---|---|---|---|
RGB | 107 | 114 | 122 |
HSL | 212° | 6.55% | 44.90% |
HSB/HSV | 212° | 12.30% | 47.84% |
CMYK | 12.30% | 6.56% | 0.00% |
52.16% |
HEX | 6B | 72 | 7A |
Decimal | 107 | 114 | 122 |
Binary | 1101011 | 1110010 | 1111010 |
Octal | 153 | 162 | 172 |
Examples of css and html codes for elements with #6B727A color. Also use rgb(107,114,122) instead hex code.
.myTextColor { color: #6B727A; }
<p style="color:#6B727A">This sample text font color is #6B727A.</p>
This text font color is #6B727A.
.myBgColor { background-color: #6B727A; }
<div style="background-color:#6B727A">Inner text</div>
This div background color is #6B727A.
.myBorderColor { border: 1px solid #6B727A; }
<div style="border:3px solid #6B727A">Div</div>
This div border color is #6B727A.
.myOpacity80 { color: #6B727A; opacity: 0.8; }
<p style="color:#6B727A;opacity:0.8;">80%</p>
Text with #6B727A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B727A;}
<p style="text-shadow: 3px 3px 1px #6B727A">Text here.</p>
This text has shadow with #6B727A color.
.textShadow {text-shadow: 3px 3px 1px #6B727A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B727A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B727A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B727A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B727A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B727A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B727A; -webkit-box-shadow: 1px 1px 3px 2px #6B727A; box-shadow: 1px 1px 3px 2px #6B727A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B727A; -webkit-box-shadow: 1px 1px 3px 2px #6B727A; box-shadow:1px 1px 3px 2px #6B727A;">
Div content here</div>
This text has color #6B727A on black background.
This text has color #6B727A on white background.
This text has black color on #6B727A background.
This text has white color on #6B727A background.