COLOR #051021

HEX: #051021
RGB: (5,16,33)

Color info

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

RGB color model

#051021 color RGB value is (5,16,33).

  • red value is 5;
  • green value is 16;
  • blue value is 33.
RGB:
(5,16,33)
(2%,6%,13%)

RGB channels and saturation

R 5 of 255 = 2%
G 16 of 255 = 6%
B 33 of 255 = 13%

5
16
33

R + G + B ~ 7%. #051021 is dark color.

Portions of RGB colors in percentages

R + G + B =
5 + 16 + 33 = 54 (100%)
R 5 of 54 ~ 9.26%
G 16 of 54 ~ 29.63%
B 33 of 54 ~ 61.11%

%29.63
%61.11

CMYK color model

#051021 color CMYK value is (85,52,0,87).

  • cyan value is 84.85%
  • magenta value is 51.52%
  • yellow value is 0.00%
  • key color value is 87.06%
CMYK:
(85,52,0,87)
C85M52Y0K87 
(85%,52%,0%,87%)
(0.85/0.52/0.00/0.87)	

CMYK percentages

%84.85
%51.52
%0
%87.06

Codes

Color #051021 in popluar color models

051021
RGB51633
HSL216°73.68%7.45%
HSB/HSV216°84.85%12.94%
CMYK84.85%51.52%0.00%
87.06%

Color #051021 in popluar number systems.

HEX051021
Decimal51633
Binary10110000100001
Octal52041

Shades and tints

Shades of #051021

#051021
(5,16,33)
#050F1E
(5,15,30)
#050E1B
(5,14,27)
#050D18
(5,13,24)
#050C15
(5,12,21)
#050B12
(5,11,18)
#050A0F
(5,10,15)
#05090C
(5,9,12)
#050809
(5,8,9)
#050706
(5,7,6)
#050603
(5,6,3)
#000000
(0,0,0)

Tints of #051021

#051021
(5,16,33)
#1B2535
(27,37,53)
#313A49
(49,58,73)
#474F5D
(71,79,93)
#5D6471
(93,100,113)
#737985
(115,121,133)
#898E99
(137,142,153)
#9FA3AD
(159,163,173)
#B5B8C1
(181,184,193)
#CBCDD5
(203,205,213)
#E1E2E9
(225,226,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #051021 color. Also use rgb(5,16,33) instead hex code.

Text Font Color

.myTextColor { color: #051021; }

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

This text font color is #051021.


Background Color

.myBgColor { background-color: #051021; }

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

This div background color is #051021.


Border color

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

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

This div border color is #051021.


Opacity

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

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

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

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

This text has shadow with #051021 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #051021 on black background.


Color preview on white background

This text has color #051021 on white background.



Black color preview on #051021 background

This text has black color on #051021 background.


White color preview on #051021 background

This text has white color on #051021 background.