HEX: #4865CC
RGB: (72,101,204)
#4865CC contains mainly blue color. Web safe color of #4865CC is #3366CC (or #36C).
#4865CC color RGB value is (72,101,204).
RGB: (72,101,204) (28%,40%,80%)
R 72 of 255 = 28%
G 101 of 255 = 40%
B 204 of 255 = 80%
R + G + B ~ 49%. #4865CC is middle color (not dark and not light).
R + G + B =
72 + 101 + 204 = 377 (100%)
R 72 of 377 ~ 19.1%
G 101 of 377 ~ 26.79%
B 204 of 377 ~ 54.11%
#4865CC color CMYK value is (65,50,0,20).
CMYK: (65,50,0,20) C65M50Y0K20 (65%,50%,0%,20%) (0.65/0.50/0.00/0.20)
48 | 65 | CC | |
---|---|---|---|
RGB | 72 | 101 | 204 |
HSL | 227° | 56.41% | 54.12% |
HSB/HSV | 227° | 64.71% | 80.00% |
CMYK | 64.71% | 50.49% | 0.00% |
20.00% |
HEX | 48 | 65 | CC |
Decimal | 72 | 101 | 204 |
Binary | 1001000 | 1100101 | 11001100 |
Octal | 110 | 145 | 314 |
Examples of css and html codes for elements with #4865CC color. Also use rgb(72,101,204) instead hex code.
.myTextColor { color: #4865CC; }
<p style="color:#4865CC">This sample text font color is #4865CC.</p>
This text font color is #4865CC.
.myBgColor { background-color: #4865CC; }
<div style="background-color:#4865CC">Inner text</div>
This div background color is #4865CC.
.myBorderColor { border: 1px solid #4865CC; }
<div style="border:3px solid #4865CC">Div</div>
This div border color is #4865CC.
.myOpacity80 { color: #4865CC; opacity: 0.8; }
<p style="color:#4865CC;opacity:0.8;">80%</p>
Text with #4865CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4865CC;}
<p style="text-shadow: 3px 3px 1px #4865CC">Text here.</p>
This text has shadow with #4865CC color.
.textShadow {text-shadow: 3px 3px 1px #4865CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4865CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #4865CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4865CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4865CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #4865CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4865CC; -webkit-box-shadow: 1px 1px 3px 2px #4865CC; box-shadow: 1px 1px 3px 2px #4865CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4865CC; -webkit-box-shadow: 1px 1px 3px 2px #4865CC; box-shadow:1px 1px 3px 2px #4865CC;">
Div content here</div>
This text has color #4865CC on black background.
This text has color #4865CC on white background.
This text has black color on #4865CC background.
This text has white color on #4865CC background.