Shades of Smalt #021F8A
Tints of Smalt #021F8A
RGB
CMYK
RGB Variations
Color information
#021F8A (or 0x021F8A) is known color: Smalt. HEX triplet: 02, 1F and 8A. RGB value is (2,31,138). Sum of RGB (Red+Green+Blue) = 2+31+138=171 (22% of max value = 765). Red value is 2 (1.17% from 255 or 1.17% from 171); Green value is 31 (12.5% from 255 or 18.13% from 171); Blue value is 138 (54.30% from 255 or 80.70% from 171); Max value from RGB is 138 - color contains mainly: blue. Hex color #021F8A is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #021F8A is #FDE075. Grayscale: #222222. Windows color (decimal): -16638070 or 9051906. OLE color: 9051906.
HSL color Cylindrical-coordinate representation of color #021F8A: hue angle of 227.21º degrees, saturation: 0.97, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.99%. Process color model (Four color, CMYK) of #021F8A is Cyan = 0.99, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 2 | 31 | 138 | - |
| CMYK | 0.99 | 0.78 | 0 | 0.46 |
| HSL | 227.21º | 0.97% | 0.27% | - |
| HSV(B) | 227.21º | 0.99% | 0.54% | - |
| XYZ | 5.1 | 2.83 | 24.32 | - |
| YUV | 34.53 | 186.39 | 104.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 2 | 31 | 138 | 0.99 | 0.78 | 0 | 0.46 | 227.21 | 0.97 | 0.27 |
| Hex | 2 | 1F | 8A | 63 | 4E | 0 | 2E | E3 | 61 | 1B |
| Octal | 2 | 37 | 212 | 143 | 116 | 0 | 56 | 343 | 141 | 33 |
| Binary | 10 | 11111 | 10001010 | 1100011 | 1001110 | 0 | 101110 | 11100011 | 1100001 | 11011 |
Color Harmonies of #021F8A
Complementary color
Monochromatic Colors of #021F8A
Black with #021F8A
Text Example
Text Example
White with #021F8A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #021F8A; }
p { color: rgb(2,31,138); }
H1.HeaderClassName
{
color: #021F8A;
}
.AnyTagClassName
{
color: #021F8A;
}
</style>
background-color css
<style>
a { background-color: #021F8A; }
a { background-color: rgb(2,31,138); }
div.DivClassName
{
background-color: #021F8A;
}
.BgClassName
{
background-color: #021F8A;
}
</style>
border-color css
<style>
span { border-color: #021F8A; }
span { border-color: rgb(2,31,138); }
td.TdClassName
{
border-color: #021F8A;
}
.TagClassName
{
border-color: #021F8A;
}
</style>