COLOR #050C1F

HEX: #050C1F
RGB: (5,12,31)

Color info

#050C1F contains red, green and blue colors in about the same proportion. Web safe color of #050C1F is #000033 (or #003).

RGB color model

#050C1F color RGB value is (5,12,31).

  • red value is 5;
  • green value is 12;
  • blue value is 31.
RGB:
(5,12,31)
(2%,5%,12%)

RGB channels and saturation

R 5 of 255 = 2%
G 12 of 255 = 5%
B 31 of 255 = 12%

5
12
31

R + G + B ~ 6%. #050C1F is dark color.

Portions of RGB colors in percentages

R + G + B =
5 + 12 + 31 = 48 (100%)
R 5 of 48 ~ 10.42%
G 12 of 48 ~ 25%
B 31 of 48 ~ 64.58%

%10.42
%25
%64.58

CMYK color model

#050C1F color CMYK value is (84,61,0,88).

  • cyan value is 83.87%
  • magenta value is 61.29%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(84,61,0,88)
C84M61Y0K88 
(84%,61%,0%,88%)
(0.84/0.61/0.00/0.88)	

CMYK percentages

%83.87
%61.29
%0
%87.84

Codes

Color #050C1F in popluar color models

050C1F
RGB51231
HSL224°72.22%7.06%
HSB/HSV224°83.87%12.16%
CMYK83.87%61.29%0.00%
87.84%

Color #050C1F in popluar number systems.

HEX050C1F
Decimal51231
Binary101110011111
Octal51437

Shades and tints

Shades of #050C1F

#050C1F
(5,12,31)
#050B1D
(5,11,29)
#050A1B
(5,10,27)
#050919
(5,9,25)
#050817
(5,8,23)
#050715
(5,7,21)
#050613
(5,6,19)
#050511
(5,5,17)
#05040F
(5,4,15)
#05030D
(5,3,13)
#05020B
(5,2,11)
#000000
(0,0,0)

Tints of #050C1F

#050C1F
(5,12,31)
#1B2233
(27,34,51)
#313847
(49,56,71)
#474E5B
(71,78,91)
#5D646F
(93,100,111)
#737A83
(115,122,131)
#899097
(137,144,151)
#9FA6AB
(159,166,171)
#B5BCBF
(181,188,191)
#CBD2D3
(203,210,211)
#E1E8E7
(225,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #050C1F color. Also use rgb(5,12,31) instead hex code.

Text Font Color

.myTextColor { color: #050C1F; }

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

This text font color is #050C1F.


Background Color

.myBgColor { background-color: #050C1F; }

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

This div background color is #050C1F.


Border color

.myBorderColor { border: 1px solid #050C1F; }

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

This div border color is #050C1F.


Opacity

.myOpacity80 { color: #050C1F; opacity: 0.8; }

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

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

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

This text has shadow with #050C1F color.

.textShadow {text-shadow: 3px 3px 1px #050C1F, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #050C1F;
-webkit-box-shadow: 1px 1px 3px 2px #050C1F;
box-shadow:1px 1px 3px 2px #050C1F;">
Div content here</div>
This div box has shadow with color #050C1F.

Preview

Color preview on black background

This text has color #050C1F on black background.


Color preview on white background

This text has color #050C1F on white background.



Black color preview on #050C1F background

This text has black color on #050C1F background.


White color preview on #050C1F background

This text has white color on #050C1F background.