HEX: #51649C
RGB: (81,100,156)
#51649C contains mainly green and blue colors. Web safe color of #51649C is #666699 (or #669).
#51649C color RGB value is (81,100,156).
RGB: (81,100,156) (32%,39%,61%)
R 81 of 255 = 32%
G 100 of 255 = 39%
B 156 of 255 = 61%
R + G + B ~ 44%. #51649C is middle color (not dark and not light).
R + G + B =
81 + 100 + 156 = 337 (100%)
R 81 of 337 ~ 24.04%
G 100 of 337 ~ 29.67%
B 156 of 337 ~ 46.29%
#51649C color CMYK value is (48,36,0,39).
CMYK: (48,36,0,39) C48M36Y0K39 (48%,36%,0%,39%) (0.48/0.36/0.00/0.39)
51 | 64 | 9C | |
---|---|---|---|
RGB | 81 | 100 | 156 |
HSL | 225° | 31.65% | 46.47% |
HSB/HSV | 225° | 48.08% | 61.18% |
CMYK | 48.08% | 35.90% | 0.00% |
38.82% |
HEX | 51 | 64 | 9C |
Decimal | 81 | 100 | 156 |
Binary | 1010001 | 1100100 | 10011100 |
Octal | 121 | 144 | 234 |
Examples of css and html codes for elements with #51649C color. Also use rgb(81,100,156) instead hex code.
.myTextColor { color: #51649C; }
<p style="color:#51649C">This sample text font color is #51649C.</p>
This text font color is #51649C.
.myBgColor { background-color: #51649C; }
<div style="background-color:#51649C">Inner text</div>
This div background color is #51649C.
.myBorderColor { border: 1px solid #51649C; }
<div style="border:3px solid #51649C">Div</div>
This div border color is #51649C.
.myOpacity80 { color: #51649C; opacity: 0.8; }
<p style="color:#51649C;opacity:0.8;">80%</p>
Text with #51649C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51649C;}
<p style="text-shadow: 3px 3px 1px #51649C">Text here.</p>
This text has shadow with #51649C color.
.textShadow {text-shadow: 3px 3px 1px #51649C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51649C, 5px 5px 20px red">Text here.</p>
This text has shadow with #51649C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51649C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51649C, Direction=45, Strength=4)">Text</p>
This text has shadow with #51649C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51649C; -webkit-box-shadow: 1px 1px 3px 2px #51649C; box-shadow: 1px 1px 3px 2px #51649C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51649C; -webkit-box-shadow: 1px 1px 3px 2px #51649C; box-shadow:1px 1px 3px 2px #51649C;">
Div content here</div>
This text has color #51649C on black background.
This text has color #51649C on white background.
This text has black color on #51649C background.
This text has white color on #51649C background.