HEX: #6A8BAB
RGB: (106,139,171)
#6A8BAB contains mainly green and blue colors. Web safe color of #6A8BAB is #669999 (or #699).
#6A8BAB color RGB value is (106,139,171).
RGB: (106,139,171) (42%,55%,67%)
R 106 of 255 = 42%
G 139 of 255 = 55%
B 171 of 255 = 67%
R + G + B ~ 55%. #6A8BAB is middle color (not dark and not light).
R + G + B =
106 + 139 + 171 = 416 (100%)
R 106 of 416 ~ 25.48%
G 139 of 416 ~ 33.41%
B 171 of 416 ~ 41.11%
#6A8BAB color CMYK value is (38,19,0,33).
CMYK: (38,19,0,33) C38M19Y0K33 (38%,19%,0%,33%) (0.38/0.19/0.00/0.33)
6A | 8B | AB | |
---|---|---|---|
RGB | 106 | 139 | 171 |
HSL | 210° | 27.90% | 54.31% |
HSB/HSV | 210° | 38.01% | 67.06% |
CMYK | 38.01% | 18.71% | 0.00% |
32.94% |
HEX | 6A | 8B | AB |
Decimal | 106 | 139 | 171 |
Binary | 1101010 | 10001011 | 10101011 |
Octal | 152 | 213 | 253 |
Examples of css and html codes for elements with #6A8BAB color. Also use rgb(106,139,171) instead hex code.
.myTextColor { color: #6A8BAB; }
<p style="color:#6A8BAB">This sample text font color is #6A8BAB.</p>
This text font color is #6A8BAB.
.myBgColor { background-color: #6A8BAB; }
<div style="background-color:#6A8BAB">Inner text</div>
This div background color is #6A8BAB.
.myBorderColor { border: 1px solid #6A8BAB; }
<div style="border:3px solid #6A8BAB">Div</div>
This div border color is #6A8BAB.
.myOpacity80 { color: #6A8BAB; opacity: 0.8; }
<p style="color:#6A8BAB;opacity:0.8;">80%</p>
Text with #6A8BAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A8BAB;}
<p style="text-shadow: 3px 3px 1px #6A8BAB">Text here.</p>
This text has shadow with #6A8BAB color.
.textShadow {text-shadow: 3px 3px 1px #6A8BAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A8BAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A8BAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A8BAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A8BAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A8BAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A8BAB; -webkit-box-shadow: 1px 1px 3px 2px #6A8BAB; box-shadow: 1px 1px 3px 2px #6A8BAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A8BAB; -webkit-box-shadow: 1px 1px 3px 2px #6A8BAB; box-shadow:1px 1px 3px 2px #6A8BAB;">
Div content here</div>
This text has color #6A8BAB on black background.
This text has color #6A8BAB on white background.
This text has black color on #6A8BAB background.
This text has white color on #6A8BAB background.