COLOR #020400

HEX: #020400
RGB: (2,4,0)

Color info

#020400 contains only red and green colors. Web safe color of #020400 is #000000 (or #000).

RGB color model

#020400 color RGB value is (2,4,0).

  • red value is 2;
  • green value is 4;
  • blue value is 0.
RGB:
(2,4,0)
(1%,2%,0%)

RGB channels and saturation

R 2 of 255 = 1%
G 4 of 255 = 2%
B 0 of 255 = 0%

2
4
0

R + G + B ~ 1%. #020400 is dark color.

Portions of RGB colors in percentages

R + G + B =
2 + 4 + 0 = 6 (100%)
R 2 of 6 ~ 33.33%
G 4 of 6 ~ 66.67%
B 0 of 6 ~ 0%

%33.33
%66.67

CMYK color model

#020400 color CMYK value is (50,0,100,98).

  • cyan value is 50.00%
  • magenta value is 0.00%
  • yellow value is 100.00%
  • key color value is 98.43%
CMYK:
(50,0,100,98)
C50M0Y100K98 
(50%,0%,100%,98%)
(0.50/0.00/1.00/0.98)	

CMYK percentages

%50
%0
%100
%98.43

Codes

Color #020400 in popluar color models

020400
RGB240
HSL90°100.00%0.78%
HSB/HSV90°100.00%1.57%
CMYK50.00%0.00%100.00%
98.43%

Color #020400 in popluar number systems.

HEX020400
Decimal240
Binary101000
Octal240

Shades and tints

Tints of #020400

#020400
(2,4,0)
#191A17
(25,26,23)
#30302E
(48,48,46)
#474645
(71,70,69)
#5E5C5C
(94,92,92)
#757273
(117,114,115)
#8C888A
(140,136,138)
#A39EA1
(163,158,161)
#BAB4B8
(186,180,184)
#D1CACF
(209,202,207)
#E8E0E6
(232,224,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #020400 color. Also use rgb(2,4,0) instead hex code.

Text Font Color

.myTextColor { color: #020400; }

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

This text font color is #020400.


Background Color

.myBgColor { background-color: #020400; }

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

This div background color is #020400.


Border color

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

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

This div border color is #020400.


Opacity

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

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

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

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

This text has shadow with #020400 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #020400 on black background.


Color preview on white background

This text has color #020400 on white background.



Black color preview on #020400 background

This text has black color on #020400 background.


White color preview on #020400 background

This text has white color on #020400 background.