HEX: #54497A
RGB: (84,73,122)
#54497A contains red, green and blue colors in about the same proportion. Web safe color of #54497A is #663366 (or #636).
#54497A color RGB value is (84,73,122).
RGB: (84,73,122) (33%,29%,48%)
R 84 of 255 = 33%
G 73 of 255 = 29%
B 122 of 255 = 48%
R + G + B ~ 37%. #54497A is quite dark color.
R + G + B =
84 + 73 + 122 = 279 (100%)
R 84 of 279 ~ 30.11%
G 73 of 279 ~ 26.16%
B 122 of 279 ~ 43.73%
#54497A color CMYK value is (31,40,0,52).
CMYK: (31,40,0,52) C31M40Y0K52 (31%,40%,0%,52%) (0.31/0.40/0.00/0.52)
54 | 49 | 7A | |
---|---|---|---|
RGB | 84 | 73 | 122 |
HSL | 253° | 25.13% | 38.24% |
HSB/HSV | 253° | 40.16% | 47.84% |
CMYK | 31.15% | 40.16% | 0.00% |
52.16% |
HEX | 54 | 49 | 7A |
Decimal | 84 | 73 | 122 |
Binary | 1010100 | 1001001 | 1111010 |
Octal | 124 | 111 | 172 |
Examples of css and html codes for elements with #54497A color. Also use rgb(84,73,122) instead hex code.
.myTextColor { color: #54497A; }
<p style="color:#54497A">This sample text font color is #54497A.</p>
This text font color is #54497A.
.myBgColor { background-color: #54497A; }
<div style="background-color:#54497A">Inner text</div>
This div background color is #54497A.
.myBorderColor { border: 1px solid #54497A; }
<div style="border:3px solid #54497A">Div</div>
This div border color is #54497A.
.myOpacity80 { color: #54497A; opacity: 0.8; }
<p style="color:#54497A;opacity:0.8;">80%</p>
Text with #54497A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #54497A;}
<p style="text-shadow: 3px 3px 1px #54497A">Text here.</p>
This text has shadow with #54497A color.
.textShadow {text-shadow: 3px 3px 1px #54497A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #54497A, 5px 5px 20px red">Text here.</p>
This text has shadow with #54497A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#54497A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#54497A, Direction=45, Strength=4)">Text</p>
This text has shadow with #54497A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #54497A; -webkit-box-shadow: 1px 1px 3px 2px #54497A; box-shadow: 1px 1px 3px 2px #54497A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #54497A; -webkit-box-shadow: 1px 1px 3px 2px #54497A; box-shadow:1px 1px 3px 2px #54497A;">
Div content here</div>
This text has color #54497A on black background.
This text has color #54497A on white background.
This text has black color on #54497A background.
This text has white color on #54497A background.