COLOR #050308

HEX: #050308 RGB: (5,3,8)

Color info

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

RGB color model

#050308 color RGB value is (5,3,8).

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

RGB channels and saturation

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

5
3
8

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

Portions of RGB colors in percentages

R + G + B = 5 + 3 + 8 = 16 (100%)
R 5 of 16 ~ 31.25%
G 3 of 16 ~ 18.75%
B 8 of 16 ~ 50'%

%31.25
%18.75
%50

CMYK color model

#050308 color CMYK value is (37,63,0,97).

  • cyan value is 37.50%
  • magenta value is 62.50%
  • yellow value is 0.00%
  • key color value is 96.86%
CMYK: (37,63,0,97) C37M63Y0K97 (37%,63%,0%,97%) (0.37/0.63/0.00/0.97) 

CMYK percentages

%37.5
%62.5
%0
%96.86

Codes

Color #050308 in popluar color models

05 03 08
RGB 5 3 8
HSL 264° 45.45% 2.16%
HSB/HSV 264° 62.50% 3.14%
CMYK 37.50% 62.50% 0.00%
96.86%

Color #050308 in popluar number systems.

HEX 05 03 08
Decimal 5 3 8
Binary 101 11 1000
Octal 5 3 10

Shades and tints

Tints of #050308

#050308
(5,3,8)
#1B191E
(27,25,30)
#312F34
(49,47,52)
#47454A
(71,69,74)
#5D5B60
(93,91,96)
#737176
(115,113,118)
#89878C
(137,135,140)
#9F9DA2
(159,157,162)
#B5B3B8
(181,179,184)
#CBC9CE
(203,201,206)
#E1DFE4
(225,223,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #050308; }

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

This text font color is #050308.

Background Color

.myBgColor { background-color: #050308; }

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

This div background color is #050308.

Border color

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

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

This div border color is #050308.

Opacity

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

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

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

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

This text has shadow with #050308 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #050308.

Preview

Color preview on black background

This text has color #050308 on black background.


Color preview on white background

This text has color #050308 on white background.


Black color preview on #050308 background

This text has black color on #050308 background.


White color preview on #050308 background

This text has white color on #050308 background.


Related colors

Complementary color

Complementary color for #hex is #FAFCF7.


I love getcolorcode.com

Triadic colors

1 #080503 and #030805 with #050308 are triadic colors.

2 #080305 and #030508 with #050308 are triadic colors.