COLOR #050218

HEX: #050218 RGB: (5,2,24)

Color info

#050218 contains red, green and blue colors in about the same proportion. Web safe color of #050218 is #000000 (or #000).

RGB color model

#050218 color RGB value is (5,2,24).

RGB: (5,2,24) (2%, 1%, 9%)

RGB channels and saturation

R 5 of 255 = 2%
G 2 of 255 = 1%
B 24 of 255 = 9%

5
2
24

R + G + B ~ 4%. #050218 is dark color.

Portions of RGB colors in percentages

R + G + B = 5 + 2 + 24 = 31 (100%)
R 5 of 31 ~ 16.13%
G 2 of 31 ~ 6.45%
B 24 of 31 ~ 77.42'%

%16.13
%77.42

CMYK color model

#050218 color CMYK value is (79,92,0,91).

  • cyan value is 79.17%
  • magenta value is 91.67%
  • yellow value is 0.00%
  • key color value is 90.59%
CMYK: (79,92,0,91) C79M92Y0K91 (79%,92%,0%,91%) (0.79/0.92/0.00/0.91) 

CMYK percentages

%79.17
%91.67
%0
%90.59

Codes

Color #050218 in popluar color models

05 02 18
RGB 5 2 24
HSL 248° 84.62% 5.10%
HSB/HSV 248° 91.67% 9.41%
CMYK 79.17% 91.67% 0.00%
90.59%

Color #050218 in popluar number systems.

HEX 05 02 18
Decimal 5 2 24
Binary 101 10 11000
Octal 5 2 30

Shades and tints

Shades of #050218

#050218
(5,2,24)
#050216
(5,2,22)
#050214
(5,2,20)
#050212
(5,2,18)
#050210
(5,2,16)
#05020E
(5,2,14)
#05020C
(5,2,12)
#05020A
(5,2,10)
#050208
(5,2,8)
#050206
(5,2,6)
#050204
(5,2,4)
#000000
(0,0,0)

Tints of #050218

#050218
(5,2,24)
#1B192D
(27,25,45)
#313042
(49,48,66)
#474757
(71,71,87)
#5D5E6C
(93,94,108)
#737581
(115,117,129)
#898C96
(137,140,150)
#9FA3AB
(159,163,171)
#B5BAC0
(181,186,192)
#CBD1D5
(203,209,213)
#E1E8EA
(225,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #050218 color. Also use rgb(5,2,24) instead hex code.

Text Font Color

.myTextColor { color: #050218; }

<p style="color:#050218">This sample text font color is #050218.</p>

This text font color is #050218.

Background Color

.myBgColor { background-color: #050218; }

<div style="background-color:#050218">Inner text</div>

This div background color is #050218.

Border color

.myBorderColor { border: 1px solid #050218; }

<div style="border:3px solid #050218">Div</div>

This div border color is #050218.

Opacity

.myOpacity80 { color: #050218; opacity: 0.8; }

<p style="color:#050218;opacity:0.8;">80%</p>

Text with #050218 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #050218;}

<p style="text-shadow: 3px 3px 1px #050218">Text here.</p>

This text has shadow with #050218 color.


.textShadow {text-shadow: 3px 3px 1px #050218', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #050218, 5px 5px 20px red">Text here.</p>

This text has shadow with #050218 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#050218, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#050218, Direction=45, Strength=4)">Text</p>

This text has shadow with #050218 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #050218;
-webkit-box-shadow: 1px 1px 3px 2px #050218;
box-shadow: 1px 1px 3px 2px #050218;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #050218; -webkit-box-shadow: 1px 1px 3px 2px #050218; box-shadow:1px 1px 3px 2px #050218;">
Div content here
</div>

This div box has shadow with color #050218.

Preview

Color preview on black background

This text has color #050218 on black background.


Color preview on white background

This text has color #050218 on white background.


Black color preview on #050218 background

This text has black color on #050218 background.


White color preview on #050218 background

This text has white color on #050218 background.


Related colors

Complementary color

Complementary color for #hex is #FAFDE7.


I love getcolorcode.com

Triadic colors

1 #180502 and #021805 with #050218 are triadic colors.

2 #180205 and #020518 with #050218 are triadic colors.