COLOR #240021

HEX: #240021 RGB: (36,0,33)

Color info

#240021 contains only red and blue colors. Web safe color of #240021 is #330033 (or #303).

RGB color model

#240021 color RGB value is (36,0,33).

RGB: (36,0,33) (14%, 0%, 13%)

RGB channels and saturation

R 36 of 255 = 14%
G 0 of 255 = 0%
B 33 of 255 = 13%

36
0
33

R + G + B ~ 9%. #240021 is dark color.

Portions of RGB colors in percentages

R + G + B = 36 + 0 + 33 = 69 (100%)
R 36 of 69 ~ 52.17%
G 0 of 69 ~ 0%
B 33 of 69 ~ 47.83'%

%52.17
%47.83

CMYK color model

#240021 color CMYK value is (0,100,8,86).

  • cyan value is 0.00%
  • magenta value is 100.00%
  • yellow value is 8.33%
  • key color value is 85.88%

CMYK: (0,100,8,86)
C0M100Y8K86 (0%, 100%, 8%, 86%)
(0.00 / 1.00 / 0.08 / 0.86)

CMYK percentages

%0
%100
%8.33
%85.88

Codes

Color #240021 in popluar color models

24 00 21
RGB 36 0 33
HSL 305° 100.00% 7.06%
HSB/HSV 305° 100.00% 14.12%
CMYK 0.00% 100.00% 8.33%
85.88%

Color #240021 in popluar number systems.

HEX 24 00 21
Decimal 36 0 33
Binary 100100 0 100001
Octal 44 0 41

Shades and tints

Shades of #240021

#240021
(36,0,33)
#21001E
(33,0,30)
#1E001B
(30,0,27)
#1B0018
(27,0,24)
#180015
(24,0,21)
#150012
(21,0,18)
#12000F
(18,0,15)
#0F000C
(15,0,12)
#0C0009
(12,0,9)
#090006
(9,0,6)
#060003
(6,0,3)
#000000
(0,0,0)

Tints of #240021

#240021
(36,0,33)
#371735
(55,23,53)
#4A2E49
(74,46,73)
#5D455D
(93,69,93)
#705C71
(112,92,113)
#837385
(131,115,133)
#968A99
(150,138,153)
#A9A1AD
(169,161,173)
#BCB8C1
(188,184,193)
#CFCFD5
(207,207,213)
#E2E6E9
(226,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #240021 color. Also use rgb(36,0,33) instead hex code.

Text Font Color

.myTextColor { color: #240021; }

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

This text font color is #240021.

Background Color

.myBgColor { background-color: #240021; }

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

This div background color is #240021.

Border color

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

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

This div border color is #240021.

Opacity

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

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

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

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

This text has shadow with #240021 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #240021.

Preview

Color preview on black background

This text has color #240021 on black background.


Color preview on white background

This text has color #240021 on white background.


Black color preview on #240021 background

This text has black color on #240021 background.


White color preview on #240021 background

This text has white color on #240021 background.


Related colors

Complementary color

Complementary color for #hex is #DBFFDE.


I love getcolorcode.com

Triadic colors

1 #212400 and #002124 with #240021 are triadic colors.

2 #210024 and #002421 with #240021 are triadic colors.