COLOR #020728

HEX: #020728 RGB: (2,7,40)

Color info

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

RGB color model

#020728 color RGB value is (2,7,40).

RGB: (2,7,40) (1%, 3%, 16%)

RGB channels and saturation

R 2 of 255 = 1%
G 7 of 255 = 3%
B 40 of 255 = 16%

2
7
40

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

Portions of RGB colors in percentages

R + G + B = 2 + 7 + 40 = 49 (100%)
R 2 of 49 ~ 4.08%
G 7 of 49 ~ 14.29%
B 40 of 49 ~ 81.63'%

%14.29
%81.63

CMYK color model

#020728 color CMYK value is (95,83,0,84).

  • cyan value is 95.00%
  • magenta value is 82.50%
  • yellow value is 0.00%
  • key color value is 84.31%

CMYK: (95,83,0,84)
C95M83Y0K84 (95%, 83%, 0%, 84%)
(0.95 / 0.83 / 0.00 / 0.84)

CMYK percentages

%95
%82.5
%0
%84.31

Codes

Color #020728 in popluar color models

02 07 28
RGB 2 7 40
HSL 232° 90.48% 8.24%
HSB/HSV 232° 95.00% 15.69%
CMYK 95.00% 82.50% 0.00%
84.31%

Color #020728 in popluar number systems.

HEX 02 07 28
Decimal 2 7 40
Binary 10 111 101000
Octal 2 7 50

Shades and tints

Shades of #020728

#020728
(2,7,40)
#020725
(2,7,37)
#020722
(2,7,34)
#02071F
(2,7,31)
#02071C
(2,7,28)
#020719
(2,7,25)
#020716
(2,7,22)
#020713
(2,7,19)
#020710
(2,7,16)
#02070D
(2,7,13)
#02070A
(2,7,10)
#000000
(0,0,0)

Tints of #020728

#020728
(2,7,40)
#191D3B
(25,29,59)
#30334E
(48,51,78)
#474961
(71,73,97)
#5E5F74
(94,95,116)
#757587
(117,117,135)
#8C8B9A
(140,139,154)
#A3A1AD
(163,161,173)
#BAB7C0
(186,183,192)
#D1CDD3
(209,205,211)
#E8E3E6
(232,227,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #020728 color. Also use rgb(2,7,40) instead hex code.

Text Font Color

.myTextColor { color: #020728; }

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

This text font color is #020728.

Background Color

.myBgColor { background-color: #020728; }

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

This div background color is #020728.

Border color

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

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

This div border color is #020728.

Opacity

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

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

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

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

This text has shadow with #020728 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #020728.

Preview

Color preview on black background

This text has color #020728 on black background.


Color preview on white background

This text has color #020728 on white background.


Black color preview on #020728 background

This text has black color on #020728 background.


White color preview on #020728 background

This text has white color on #020728 background.


Related colors

Complementary color

Complementary color for #hex is #FDF8D7.


I love getcolorcode.com

Triadic colors

1 #280207 and #072802 with #020728 are triadic colors.

2 #280702 and #070228 with #020728 are triadic colors.