HEX: #4B6CAB
RGB: (75,108,171)
#4B6CAB contains mainly blue color. Web safe color of #4B6CAB is #336699 (or #369).
#4B6CAB color RGB value is (75,108,171).
RGB: (75,108,171) (29%,42%,67%)
R 75 of 255 = 29%
G 108 of 255 = 42%
B 171 of 255 = 67%
R + G + B ~ 46%. #4B6CAB is middle color (not dark and not light).
R + G + B =
75 + 108 + 171 = 354 (100%)
R 75 of 354 ~ 21.19%
G 108 of 354 ~ 30.51%
B 171 of 354 ~ 48.31%
#4B6CAB color CMYK value is (56,37,0,33).
CMYK: (56,37,0,33) C56M37Y0K33 (56%,37%,0%,33%) (0.56/0.37/0.00/0.33)
4B | 6C | AB | |
---|---|---|---|
RGB | 75 | 108 | 171 |
HSL | 219° | 39.02% | 48.24% |
HSB/HSV | 219° | 56.14% | 67.06% |
CMYK | 56.14% | 36.84% | 0.00% |
32.94% |
HEX | 4B | 6C | AB |
Decimal | 75 | 108 | 171 |
Binary | 1001011 | 1101100 | 10101011 |
Octal | 113 | 154 | 253 |
Examples of css and html codes for elements with #4B6CAB color. Also use rgb(75,108,171) instead hex code.
.myTextColor { color: #4B6CAB; }
<p style="color:#4B6CAB">This sample text font color is #4B6CAB.</p>
This text font color is #4B6CAB.
.myBgColor { background-color: #4B6CAB; }
<div style="background-color:#4B6CAB">Inner text</div>
This div background color is #4B6CAB.
.myBorderColor { border: 1px solid #4B6CAB; }
<div style="border:3px solid #4B6CAB">Div</div>
This div border color is #4B6CAB.
.myOpacity80 { color: #4B6CAB; opacity: 0.8; }
<p style="color:#4B6CAB;opacity:0.8;">80%</p>
Text with #4B6CAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B6CAB;}
<p style="text-shadow: 3px 3px 1px #4B6CAB">Text here.</p>
This text has shadow with #4B6CAB color.
.textShadow {text-shadow: 3px 3px 1px #4B6CAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B6CAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B6CAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B6CAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B6CAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B6CAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B6CAB; -webkit-box-shadow: 1px 1px 3px 2px #4B6CAB; box-shadow: 1px 1px 3px 2px #4B6CAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B6CAB; -webkit-box-shadow: 1px 1px 3px 2px #4B6CAB; box-shadow:1px 1px 3px 2px #4B6CAB;">
Div content here</div>
This text has color #4B6CAB on black background.
This text has color #4B6CAB on white background.
This text has black color on #4B6CAB background.
This text has white color on #4B6CAB background.