COLOR #240C21

HEX: #240C21
RGB: (36,12,33)

Color info

#240C21 contains red, green and blue colors in about the same proportion. Web safe color of #240C21 is #330033 (or #303).

RGB color model

#240C21 color RGB value is (36,12,33).

  • red value is 36;
  • green value is 12;
  • blue value is 33.
RGB:
(36,12,33)
(14%,5%,13%)

RGB channels and saturation

R 36 of 255 = 14%
G 12 of 255 = 5%
B 33 of 255 = 13%

36
12
33

R + G + B ~ 11%. #240C21 is dark color.

Portions of RGB colors in percentages

R + G + B =
36 + 12 + 33 = 81 (100%)
R 36 of 81 ~ 44.44%
G 12 of 81 ~ 14.81%
B 33 of 81 ~ 40.74%

%44.44
%14.81
%40.74

CMYK color model

#240C21 color CMYK value is (0,67,8,86).

  • cyan value is 0.00%
  • magenta value is 66.67%
  • yellow value is 8.33%
  • key color value is 85.88%
CMYK:
(0,67,8,86)
C0M67Y8K86 
(0%,67%,8%,86%)
(0.00/0.67/0.08/0.86)	

CMYK percentages

%0
%66.67
%8.33
%85.88

Codes

Color #240C21 in popluar color models

240C21
RGB361233
HSL308°50.00%9.41%
HSB/HSV308°66.67%14.12%
CMYK0.00%66.67%8.33%
85.88%

Color #240C21 in popluar number systems.

HEX240C21
Decimal361233
Binary1001001100100001
Octal441441

Shades and tints

Shades of #240C21

#240C21
(36,12,33)
#210B1E
(33,11,30)
#1E0A1B
(30,10,27)
#1B0918
(27,9,24)
#180815
(24,8,21)
#150712
(21,7,18)
#12060F
(18,6,15)
#0F050C
(15,5,12)
#0C0409
(12,4,9)
#090306
(9,3,6)
#060203
(6,2,3)
#000000
(0,0,0)

Tints of #240C21

#240C21
(36,12,33)
#372235
(55,34,53)
#4A3849
(74,56,73)
#5D4E5D
(93,78,93)
#706471
(112,100,113)
#837A85
(131,122,133)
#969099
(150,144,153)
#A9A6AD
(169,166,173)
#BCBCC1
(188,188,193)
#CFD2D5
(207,210,213)
#E2E8E9
(226,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #240C21; }

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

This text font color is #240C21.


Background Color

.myBgColor { background-color: #240C21; }

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

This div background color is #240C21.


Border color

.myBorderColor { border: 1px solid #240C21; }

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

This div border color is #240C21.


Opacity

.myOpacity80 { color: #240C21; opacity: 0.8; }

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

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

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

This text has shadow with #240C21 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #240C21 on black background.


Color preview on white background

This text has color #240C21 on white background.



Black color preview on #240C21 background

This text has black color on #240C21 background.


White color preview on #240C21 background

This text has white color on #240C21 background.