HEX: #308580
RGB: (48,133,128)
#308580 contains mainly green and blue colors. Web safe color of #308580 is #339966 (or #396).
#308580 color RGB value is (48,133,128).
RGB: (48,133,128) (19%,52%,50%)
R 48 of 255 = 19%
G 133 of 255 = 52%
B 128 of 255 = 50%
R + G + B ~ 40%. #308580 is middle color (not dark and not light).
R + G + B =
48 + 133 + 128 = 309 (100%)
R 48 of 309 ~ 15.53%
G 133 of 309 ~ 43.04%
B 128 of 309 ~ 41.42%
#308580 color CMYK value is (64,0,4,48).
CMYK: (64,0,4,48) C64M0Y4K48 (64%,0%,4%,48%) (0.64/0.00/0.04/0.48)
30 | 85 | 80 | |
---|---|---|---|
RGB | 48 | 133 | 128 |
HSL | 176° | 46.96% | 35.49% |
HSB/HSV | 176° | 63.91% | 52.16% |
CMYK | 63.91% | 0.00% | 3.76% |
47.84% |
HEX | 30 | 85 | 80 |
Decimal | 48 | 133 | 128 |
Binary | 110000 | 10000101 | 10000000 |
Octal | 60 | 205 | 200 |
Examples of css and html codes for elements with #308580 color. Also use rgb(48,133,128) instead hex code.
.myTextColor { color: #308580; }
<p style="color:#308580">This sample text font color is #308580.</p>
This text font color is #308580.
.myBgColor { background-color: #308580; }
<div style="background-color:#308580">Inner text</div>
This div background color is #308580.
.myBorderColor { border: 1px solid #308580; }
<div style="border:3px solid #308580">Div</div>
This div border color is #308580.
.myOpacity80 { color: #308580; opacity: 0.8; }
<p style="color:#308580;opacity:0.8;">80%</p>
Text with #308580 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #308580;}
<p style="text-shadow: 3px 3px 1px #308580">Text here.</p>
This text has shadow with #308580 color.
.textShadow {text-shadow: 3px 3px 1px #308580, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #308580, 5px 5px 20px red">Text here.</p>
This text has shadow with #308580 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#308580, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#308580, Direction=45, Strength=4)">Text</p>
This text has shadow with #308580 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #308580; -webkit-box-shadow: 1px 1px 3px 2px #308580; box-shadow: 1px 1px 3px 2px #308580; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #308580; -webkit-box-shadow: 1px 1px 3px 2px #308580; box-shadow:1px 1px 3px 2px #308580;">
Div content here</div>
This text has color #308580 on black background.
This text has color #308580 on white background.
This text has black color on #308580 background.
This text has white color on #308580 background.