HEX: #151520
RGB: (21,21,32)
Il colore #151520 contiene il rosso, il verde e il blu in proporzioni più o meno uguali. Per il #151520 il colore web safe è #000033 (#003).
Il colore 151520 in RGB è definito come 21,21,32
RGB: (21,21,32) (8%,8%,13%)
R 21 da 255 = 8%
G 21 da 255 = 8%
B 32 da 255 = 13%
R + G + B ~ 10%. #151520 colore scuro.
R + G + B =
21 + 21 + 32 = 74 (100%)
R 21 da 74 ~ 28.38%
G 21 da 74 ~ 28.38%
B 32 da 74 ~ 43.24%
Il colore #151520 in CMYK è definito come 34,34,0,87.
CMYK: (34,34,0,87) C34M34Y0K87 (34%,34%,0%,87%) (0.34/0.34/0.00/0.87)
15 | 15 | 20 | |
---|---|---|---|
RGB | 21 | 21 | 32 |
HSL | 240° | 20.75% | 10.39% |
HSB/HSV | 240° | 34.38% | 12.55% |
CMYK | 34.38% | 34.38% | 0.00% |
87.45% |
Esadicemale | 15 | 15 | 20 |
Decimale | 21 | 21 | 32 |
Binario | 10101 | 10101 | 100000 |
Ottale | 25 | 25 | 40 |
Esempi dei codici css e html per gli elementi di colore #151520. Utilizzate rgb(21,21,32) anche al posto del codice hex.
.myTextColor { color: #151520; }
<p style="color:#151520">This sample text font color is #151520.</p>
Il colore di questo testo è #151520.
.myBgColor { background-color: #151520; }
<div style="background-color:#151520">Inner text</div>
Questo div ha lo sfondo di colore #151520.
.myBorderColor { border: 1px solid #151520; }
<div style="border:3px solid #151520">Div</div>
Questo div ha i bordi di colore 151520.
.myOpacity80 { color: #151520; opacity: 0.8; }
<p style="color:#151520;opacity:0.8;">80%</p>
Il testo di color #151520 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #151520;}
<p style="text-shadow: 3px 3px 1px #151520">Text here.</p>
Questo testo ha l'ombra di colore #151520.
.textShadow {text-shadow: 3px 3px 1px #151520, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #151520, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #151520 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#151520, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#151520, Direction=45, Strength=4)">Text</p>
This text has shadow with #151520 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #151520; -webkit-box-shadow: 1px 1px 3px 2px #151520; box-shadow: 1px 1px 3px 2px #151520; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #151520; -webkit-box-shadow: 1px 1px 3px 2px #151520; box-shadow:1px 1px 3px 2px #151520;">
Div content here</div>
Questo e il testo di colore #151520 sullo sfondo nero.
Questo e il testo di colore #151520 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #151520.
Questo è un testo bianco sullo sfondo del colore #151520.