HEX: #15509D
RGB: (21,80,157)
#15509D contains mainly blue color. Web safe color of #15509D is #006699 (or #069).
#15509D color RGB value is (21,80,157).
RGB: (21,80,157) (8%,31%,62%)
R 21 of 255 = 8%
G 80 of 255 = 31%
B 157 of 255 = 62%
R + G + B ~ 34%. #15509D is quite dark color.
R + G + B =
21 + 80 + 157 = 258 (100%)
R 21 of 258 ~ 8.14%
G 80 of 258 ~ 31.01%
B 157 of 258 ~ 60.85%
#15509D color CMYK value is (87,49,0,38).
CMYK: (87,49,0,38) C87M49Y0K38 (87%,49%,0%,38%) (0.87/0.49/0.00/0.38)
15 | 50 | 9D | |
---|---|---|---|
RGB | 21 | 80 | 157 |
HSL | 214° | 76.40% | 34.90% |
HSB/HSV | 214° | 86.62% | 61.57% |
CMYK | 86.62% | 49.04% | 0.00% |
38.43% |
HEX | 15 | 50 | 9D |
Decimal | 21 | 80 | 157 |
Binary | 10101 | 1010000 | 10011101 |
Octal | 25 | 120 | 235 |
Examples of css and html codes for elements with #15509D color. Also use rgb(21,80,157) instead hex code.
.myTextColor { color: #15509D; }
<p style="color:#15509D">This sample text font color is #15509D.</p>
This text font color is #15509D.
.myBgColor { background-color: #15509D; }
<div style="background-color:#15509D">Inner text</div>
This div background color is #15509D.
.myBorderColor { border: 1px solid #15509D; }
<div style="border:3px solid #15509D">Div</div>
This div border color is #15509D.
.myOpacity80 { color: #15509D; opacity: 0.8; }
<p style="color:#15509D;opacity:0.8;">80%</p>
Text with #15509D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #15509D;}
<p style="text-shadow: 3px 3px 1px #15509D">Text here.</p>
This text has shadow with #15509D color.
.textShadow {text-shadow: 3px 3px 1px #15509D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #15509D, 5px 5px 20px red">Text here.</p>
This text has shadow with #15509D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#15509D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#15509D, Direction=45, Strength=4)">Text</p>
This text has shadow with #15509D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #15509D; -webkit-box-shadow: 1px 1px 3px 2px #15509D; box-shadow: 1px 1px 3px 2px #15509D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #15509D; -webkit-box-shadow: 1px 1px 3px 2px #15509D; box-shadow:1px 1px 3px 2px #15509D;">
Div content here</div>
This text has color #15509D on black background.
This text has color #15509D on white background.
This text has black color on #15509D background.
This text has white color on #15509D background.