HEX: #6074A2
RGB: (96,116,162)
#6074A2 contains mainly green and blue colors. Web safe color of #6074A2 is #666699 (or #669).
#6074A2 color RGB value is (96,116,162).
RGB: (96,116,162) (38%,45%,64%)
R 96 of 255 = 38%
G 116 of 255 = 45%
B 162 of 255 = 64%
R + G + B ~ 49%. #6074A2 is middle color (not dark and not light).
R + G + B =
96 + 116 + 162 = 374 (100%)
R 96 of 374 ~ 25.67%
G 116 of 374 ~ 31.02%
B 162 of 374 ~ 43.32%
#6074A2 color CMYK value is (41,28,0,36).
CMYK: (41,28,0,36) C41M28Y0K36 (41%,28%,0%,36%) (0.41/0.28/0.00/0.36)
60 | 74 | A2 | |
---|---|---|---|
RGB | 96 | 116 | 162 |
HSL | 222° | 26.19% | 50.59% |
HSB/HSV | 222° | 40.74% | 63.53% |
CMYK | 40.74% | 28.40% | 0.00% |
36.47% |
HEX | 60 | 74 | A2 |
Decimal | 96 | 116 | 162 |
Binary | 1100000 | 1110100 | 10100010 |
Octal | 140 | 164 | 242 |
Examples of css and html codes for elements with #6074A2 color. Also use rgb(96,116,162) instead hex code.
.myTextColor { color: #6074A2; }
<p style="color:#6074A2">This sample text font color is #6074A2.</p>
This text font color is #6074A2.
.myBgColor { background-color: #6074A2; }
<div style="background-color:#6074A2">Inner text</div>
This div background color is #6074A2.
.myBorderColor { border: 1px solid #6074A2; }
<div style="border:3px solid #6074A2">Div</div>
This div border color is #6074A2.
.myOpacity80 { color: #6074A2; opacity: 0.8; }
<p style="color:#6074A2;opacity:0.8;">80%</p>
Text with #6074A2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6074A2;}
<p style="text-shadow: 3px 3px 1px #6074A2">Text here.</p>
This text has shadow with #6074A2 color.
.textShadow {text-shadow: 3px 3px 1px #6074A2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6074A2, 5px 5px 20px red">Text here.</p>
This text has shadow with #6074A2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6074A2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6074A2, Direction=45, Strength=4)">Text</p>
This text has shadow with #6074A2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6074A2; -webkit-box-shadow: 1px 1px 3px 2px #6074A2; box-shadow: 1px 1px 3px 2px #6074A2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6074A2; -webkit-box-shadow: 1px 1px 3px 2px #6074A2; box-shadow:1px 1px 3px 2px #6074A2;">
Div content here</div>
This text has color #6074A2 on black background.
This text has color #6074A2 on white background.
This text has black color on #6074A2 background.
This text has white color on #6074A2 background.