HEX: #507D2C
RGB: (80,125,44)
Il colore #507D2C contiene principalmente il rosso e il verde. Per il #507D2C il colore web safe è #666633 (#663).
Il colore 507D2C in RGB è definito come 80,125,44
RGB: (80,125,44) (31%,49%,17%)
R 80 da 255 = 31%
G 125 da 255 = 49%
B 44 da 255 = 17%
R + G + B ~ 32%. #507D2C colore abbastanza scuro.
R + G + B =
80 + 125 + 44 = 249 (100%)
R 80 da 249 ~ 32.13%
G 125 da 249 ~ 50.2%
B 44 da 249 ~ 17.67%
Il colore #507D2C in CMYK è definito come 36,0,65,51.
CMYK: (36,0,65,51) C36M0Y65K51 (36%,0%,65%,51%) (0.36/0.00/0.65/0.51)
50 | 7D | 2C | |
---|---|---|---|
RGB | 80 | 125 | 44 |
HSL | 93° | 47.93% | 33.14% |
HSB/HSV | 93° | 64.80% | 49.02% |
CMYK | 36.00% | 0.00% | 64.80% |
50.98% |
Esadicemale | 50 | 7D | 2C |
Decimale | 80 | 125 | 44 |
Binario | 1010000 | 1111101 | 101100 |
Ottale | 120 | 175 | 54 |
Esempi dei codici css e html per gli elementi di colore #507D2C. Utilizzate rgb(80,125,44) anche al posto del codice hex.
.myTextColor { color: #507D2C; }
<p style="color:#507D2C">This sample text font color is #507D2C.</p>
Il colore di questo testo è #507D2C.
.myBgColor { background-color: #507D2C; }
<div style="background-color:#507D2C">Inner text</div>
Questo div ha lo sfondo di colore #507D2C.
.myBorderColor { border: 1px solid #507D2C; }
<div style="border:3px solid #507D2C">Div</div>
Questo div ha i bordi di colore 507D2C.
.myOpacity80 { color: #507D2C; opacity: 0.8; }
<p style="color:#507D2C;opacity:0.8;">80%</p>
Il testo di color #507D2C e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507D2C;}
<p style="text-shadow: 3px 3px 1px #507D2C">Text here.</p>
Questo testo ha l'ombra di colore #507D2C.
.textShadow {text-shadow: 3px 3px 1px #507D2C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507D2C, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #507D2C e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507D2C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507D2C, Direction=45, Strength=4)">Text</p>
This text has shadow with #507D2C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507D2C; -webkit-box-shadow: 1px 1px 3px 2px #507D2C; box-shadow: 1px 1px 3px 2px #507D2C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507D2C; -webkit-box-shadow: 1px 1px 3px 2px #507D2C; box-shadow:1px 1px 3px 2px #507D2C;">
Div content here</div>
Questo e il testo di colore #507D2C sullo sfondo nero.
Questo e il testo di colore #507D2C sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #507D2C.
Questo è un testo bianco sullo sfondo del colore #507D2C.