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