HEX: #21A5DD
RGB: (33,165,221)
#21A5DD contains mainly green and blue colors. Web safe color of #21A5DD is #3399CC (or #39C).
#21A5DD color RGB value is (33,165,221).
RGB: (33,165,221) (13%,65%,87%)
R 33 of 255 = 13%
G 165 of 255 = 65%
B 221 of 255 = 87%
R + G + B ~ 55%. #21A5DD is middle color (not dark and not light).
R + G + B =
33 + 165 + 221 = 419 (100%)
R 33 of 419 ~ 7.88%
G 165 of 419 ~ 39.38%
B 221 of 419 ~ 52.74%
#21A5DD color CMYK value is (85,25,0,13).
CMYK: (85,25,0,13) C85M25Y0K13 (85%,25%,0%,13%) (0.85/0.25/0.00/0.13)
21 | A5 | DD | |
---|---|---|---|
RGB | 33 | 165 | 221 |
HSL | 198° | 74.02% | 49.80% |
HSB/HSV | 198° | 85.07% | 86.67% |
CMYK | 85.07% | 25.34% | 0.00% |
13.33% |
HEX | 21 | A5 | DD |
Decimal | 33 | 165 | 221 |
Binary | 100001 | 10100101 | 11011101 |
Octal | 41 | 245 | 335 |
Examples of css and html codes for elements with #21A5DD color. Also use rgb(33,165,221) instead hex code.
.myTextColor { color: #21A5DD; }
<p style="color:#21A5DD">This sample text font color is #21A5DD.</p>
This text font color is #21A5DD.
.myBgColor { background-color: #21A5DD; }
<div style="background-color:#21A5DD">Inner text</div>
This div background color is #21A5DD.
.myBorderColor { border: 1px solid #21A5DD; }
<div style="border:3px solid #21A5DD">Div</div>
This div border color is #21A5DD.
.myOpacity80 { color: #21A5DD; opacity: 0.8; }
<p style="color:#21A5DD;opacity:0.8;">80%</p>
Text with #21A5DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #21A5DD;}
<p style="text-shadow: 3px 3px 1px #21A5DD">Text here.</p>
This text has shadow with #21A5DD color.
.textShadow {text-shadow: 3px 3px 1px #21A5DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #21A5DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #21A5DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#21A5DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#21A5DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #21A5DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #21A5DD; -webkit-box-shadow: 1px 1px 3px 2px #21A5DD; box-shadow: 1px 1px 3px 2px #21A5DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #21A5DD; -webkit-box-shadow: 1px 1px 3px 2px #21A5DD; box-shadow:1px 1px 3px 2px #21A5DD;">
Div content here</div>
This text has color #21A5DD on black background.
This text has color #21A5DD on white background.
This text has black color on #21A5DD background.
This text has white color on #21A5DD background.