COLOR #050408

HEX: #050408 RGB: (5,4,8)

Color info

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

RGB color model

#050408 color RGB value is (5,4,8).

RGB: (5,4,8) (2%, 2%, 3%)

RGB channels and saturation

R 5 of 255 = 2%
G 4 of 255 = 2%
B 8 of 255 = 3%

5
4
8

R + G + B ~ 2%. #050408 is dark color.

Portions of RGB colors in percentages

R + G + B = 5 + 4 + 8 = 17 (100%)
R 5 of 17 ~ 29.41%
G 4 of 17 ~ 23.53%
B 8 of 17 ~ 47.06'%

%29.41
%23.53
%47.06

CMYK color model

#050408 color CMYK value is (37,50,0,97).

  • cyan value is 37.50%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 96.86%

CMYK: (37,50,0,97)
C37M50Y0K97 (37%, 50%, 0%, 97%)
(0.37 / 0.50 / 0.00 / 0.97)

CMYK percentages

%37.5
%50
%0
%96.86

Codes

Color #050408 in popluar color models

05 04 08
RGB 5 4 8
HSL 255° 33.33% 2.35%
HSB/HSV 255° 50.00% 3.14%
CMYK 37.50% 50.00% 0.00%
96.86%

Color #050408 in popluar number systems.

HEX 05 04 08
Decimal 5 4 8
Binary 101 100 1000
Octal 5 4 10

Shades and tints

Tints of #050408

#050408
(5,4,8)
#1B1A1E
(27,26,30)
#313034
(49,48,52)
#47464A
(71,70,74)
#5D5C60
(93,92,96)
#737276
(115,114,118)
#89888C
(137,136,140)
#9F9EA2
(159,158,162)
#B5B4B8
(181,180,184)
#CBCACE
(203,202,206)
#E1E0E4
(225,224,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #050408 color. Also use rgb(5,4,8) instead hex code.

Text Font Color

.myTextColor { color: #050408; }

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

This text font color is #050408.

Background Color

.myBgColor { background-color: #050408; }

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

This div background color is #050408.

Border color

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

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

This div border color is #050408.

Opacity

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

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

Text with #050408 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 #050408;}

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

This text has shadow with #050408 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #050408.

Preview

Color preview on black background

This text has color #050408 on black background.


Color preview on white background

This text has color #050408 on white background.


Black color preview on #050408 background

This text has black color on #050408 background.


White color preview on #050408 background

This text has white color on #050408 background.


Related colors

Complementary color

Complementary color for #hex is #FAFBF7.


I love getcolorcode.com

Triadic colors

1 #080504 and #040805 with #050408 are triadic colors.

2 #080405 and #040508 with #050408 are triadic colors.