HEX: #97A5EF
RGB: (151,165,239)
#97A5EF contains mainly blue color. Web safe color of #97A5EF is #9999FF (or #99F).
#97A5EF color RGB value is (151,165,239).
RGB: (151,165,239) (59%,65%,94%)
R 151 of 255 = 59%
G 165 of 255 = 65%
B 239 of 255 = 94%
R + G + B ~ 73%. #97A5EF is quite light color.
R + G + B =
151 + 165 + 239 = 555 (100%)
R 151 of 555 ~ 27.21%
G 165 of 555 ~ 29.73%
B 239 of 555 ~ 43.06%
#97A5EF color CMYK value is (37,31,0,6).
CMYK: (37,31,0,6) C37M31Y0K6 (37%,31%,0%,6%) (0.37/0.31/0.00/0.06)
97 | A5 | EF | |
---|---|---|---|
RGB | 151 | 165 | 239 |
HSL | 230° | 73.33% | 76.47% |
HSB/HSV | 230° | 36.82% | 93.73% |
CMYK | 36.82% | 30.96% | 0.00% |
6.27% |
HEX | 97 | A5 | EF |
Decimal | 151 | 165 | 239 |
Binary | 10010111 | 10100101 | 11101111 |
Octal | 227 | 245 | 357 |
Examples of css and html codes for elements with #97A5EF color. Also use rgb(151,165,239) instead hex code.
.myTextColor { color: #97A5EF; }
<p style="color:#97A5EF">This sample text font color is #97A5EF.</p>
This text font color is #97A5EF.
.myBgColor { background-color: #97A5EF; }
<div style="background-color:#97A5EF">Inner text</div>
This div background color is #97A5EF.
.myBorderColor { border: 1px solid #97A5EF; }
<div style="border:3px solid #97A5EF">Div</div>
This div border color is #97A5EF.
.myOpacity80 { color: #97A5EF; opacity: 0.8; }
<p style="color:#97A5EF;opacity:0.8;">80%</p>
Text with #97A5EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #97A5EF;}
<p style="text-shadow: 3px 3px 1px #97A5EF">Text here.</p>
This text has shadow with #97A5EF color.
.textShadow {text-shadow: 3px 3px 1px #97A5EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #97A5EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #97A5EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#97A5EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#97A5EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #97A5EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #97A5EF; -webkit-box-shadow: 1px 1px 3px 2px #97A5EF; box-shadow: 1px 1px 3px 2px #97A5EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #97A5EF; -webkit-box-shadow: 1px 1px 3px 2px #97A5EF; box-shadow:1px 1px 3px 2px #97A5EF;">
Div content here</div>
This text has color #97A5EF on black background.
This text has color #97A5EF on white background.
This text has black color on #97A5EF background.
This text has white color on #97A5EF background.