HEX: #A5B8C6
RGB: (165,184,198)
#A5B8C6 contains red, green and blue colors in about the same proportion. Web safe color of #A5B8C6 is #99CCCC (or #9CC).
#A5B8C6 color RGB value is (165,184,198).
RGB: (165,184,198) (65%,72%,78%)
R 165 of 255 = 65%
G 184 of 255 = 72%
B 198 of 255 = 78%
R + G + B ~ 72%. #A5B8C6 is quite light color.
R + G + B =
165 + 184 + 198 = 547 (100%)
R 165 of 547 ~ 30.16%
G 184 of 547 ~ 33.64%
B 198 of 547 ~ 36.2%
#A5B8C6 color CMYK value is (17,7,0,22).
CMYK: (17,7,0,22) C17M7Y0K22 (17%,7%,0%,22%) (0.17/0.07/0.00/0.22)
A5 | B8 | C6 | |
---|---|---|---|
RGB | 165 | 184 | 198 |
HSL | 205° | 22.45% | 71.18% |
HSB/HSV | 205° | 16.67% | 77.65% |
CMYK | 16.67% | 7.07% | 0.00% |
22.35% |
HEX | A5 | B8 | C6 |
Decimal | 165 | 184 | 198 |
Binary | 10100101 | 10111000 | 11000110 |
Octal | 245 | 270 | 306 |
Examples of css and html codes for elements with #A5B8C6 color. Also use rgb(165,184,198) instead hex code.
.myTextColor { color: #A5B8C6; }
<p style="color:#A5B8C6">This sample text font color is #A5B8C6.</p>
This text font color is #A5B8C6.
.myBgColor { background-color: #A5B8C6; }
<div style="background-color:#A5B8C6">Inner text</div>
This div background color is #A5B8C6.
.myBorderColor { border: 1px solid #A5B8C6; }
<div style="border:3px solid #A5B8C6">Div</div>
This div border color is #A5B8C6.
.myOpacity80 { color: #A5B8C6; opacity: 0.8; }
<p style="color:#A5B8C6;opacity:0.8;">80%</p>
Text with #A5B8C6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5B8C6;}
<p style="text-shadow: 3px 3px 1px #A5B8C6">Text here.</p>
This text has shadow with #A5B8C6 color.
.textShadow {text-shadow: 3px 3px 1px #A5B8C6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5B8C6, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5B8C6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5B8C6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5B8C6, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5B8C6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5B8C6; -webkit-box-shadow: 1px 1px 3px 2px #A5B8C6; box-shadow: 1px 1px 3px 2px #A5B8C6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5B8C6; -webkit-box-shadow: 1px 1px 3px 2px #A5B8C6; box-shadow:1px 1px 3px 2px #A5B8C6;">
Div content here</div>
This text has color #A5B8C6 on black background.
This text has color #A5B8C6 on white background.
This text has black color on #A5B8C6 background.
This text has white color on #A5B8C6 background.