HEX: #4949AF
RGB: (73,73,175)
#4949AF contains mainly blue color. Web safe color of #4949AF is #333399 (or #339).
#4949AF color RGB value is (73,73,175).
RGB: (73,73,175) (29%,29%,69%)
R 73 of 255 = 29%
G 73 of 255 = 29%
B 175 of 255 = 69%
R + G + B ~ 42%. #4949AF is middle color (not dark and not light).
R + G + B =
73 + 73 + 175 = 321 (100%)
R 73 of 321 ~ 22.74%
G 73 of 321 ~ 22.74%
B 175 of 321 ~ 54.52%
#4949AF color CMYK value is (58,58,0,31).
CMYK: (58,58,0,31) C58M58Y0K31 (58%,58%,0%,31%) (0.58/0.58/0.00/0.31)
49 | 49 | AF | |
---|---|---|---|
RGB | 73 | 73 | 175 |
HSL | 240° | 41.13% | 48.63% |
HSB/HSV | 240° | 58.29% | 68.63% |
CMYK | 58.29% | 58.29% | 0.00% |
31.37% |
HEX | 49 | 49 | AF |
Decimal | 73 | 73 | 175 |
Binary | 1001001 | 1001001 | 10101111 |
Octal | 111 | 111 | 257 |
Examples of css and html codes for elements with #4949AF color. Also use rgb(73,73,175) instead hex code.
.myTextColor { color: #4949AF; }
<p style="color:#4949AF">This sample text font color is #4949AF.</p>
This text font color is #4949AF.
.myBgColor { background-color: #4949AF; }
<div style="background-color:#4949AF">Inner text</div>
This div background color is #4949AF.
.myBorderColor { border: 1px solid #4949AF; }
<div style="border:3px solid #4949AF">Div</div>
This div border color is #4949AF.
.myOpacity80 { color: #4949AF; opacity: 0.8; }
<p style="color:#4949AF;opacity:0.8;">80%</p>
Text with #4949AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4949AF;}
<p style="text-shadow: 3px 3px 1px #4949AF">Text here.</p>
This text has shadow with #4949AF color.
.textShadow {text-shadow: 3px 3px 1px #4949AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4949AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #4949AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4949AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4949AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #4949AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4949AF; -webkit-box-shadow: 1px 1px 3px 2px #4949AF; box-shadow: 1px 1px 3px 2px #4949AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4949AF; -webkit-box-shadow: 1px 1px 3px 2px #4949AF; box-shadow:1px 1px 3px 2px #4949AF;">
Div content here</div>
This text has color #4949AF on black background.
This text has color #4949AF on white background.
This text has black color on #4949AF background.
This text has white color on #4949AF background.