COLOR #240C28

HEX: #240C28 RGB: (36,12,40)

Color info

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

RGB color model

#240C28 color RGB value is (36,12,40).

RGB: (36,12,40) (14%, 5%, 16%)

RGB channels and saturation

R 36 of 255 = 14%
G 12 of 255 = 5%
B 40 of 255 = 16%

36
12
40

R + G + B ~ 12%. #240C28 is dark color.

Portions of RGB colors in percentages

R + G + B = 36 + 12 + 40 = 88 (100%)
R 36 of 88 ~ 40.91%
G 12 of 88 ~ 13.64%
B 40 of 88 ~ 45.45'%

%40.91
%13.64
%45.45

CMYK color model

#240C28 color CMYK value is (10,70,0,84).

  • cyan value is 10.00%
  • magenta value is 70.00%
  • yellow value is 0.00%
  • key color value is 84.31%

CMYK: (10,70,0,84)
C10M70Y0K84 (10%, 70%, 0%, 84%)
(0.10 / 0.70 / 0.00 / 0.84)

CMYK percentages

%10
%70
%0
%84.31

Codes

Color #240C28 in popluar color models

24 0C 28
RGB 36 12 40
HSL 291° 53.85% 10.20%
HSB/HSV 291° 70.00% 15.69%
CMYK 10.00% 70.00% 0.00%
84.31%

Color #240C28 in popluar number systems.

HEX 24 0C 28
Decimal 36 12 40
Binary 100100 1100 101000
Octal 44 14 50

Shades and tints

Shades of #240C28

#240C28
(36,12,40)
#210B25
(33,11,37)
#1E0A22
(30,10,34)
#1B091F
(27,9,31)
#18081C
(24,8,28)
#150719
(21,7,25)
#120616
(18,6,22)
#0F0513
(15,5,19)
#0C0410
(12,4,16)
#09030D
(9,3,13)
#06020A
(6,2,10)
#000000
(0,0,0)

Tints of #240C28

#240C28
(36,12,40)
#37223B
(55,34,59)
#4A384E
(74,56,78)
#5D4E61
(93,78,97)
#706474
(112,100,116)
#837A87
(131,122,135)
#96909A
(150,144,154)
#A9A6AD
(169,166,173)
#BCBCC0
(188,188,192)
#CFD2D3
(207,210,211)
#E2E8E6
(226,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #240C28; }

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

This text font color is #240C28.

Background Color

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

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

This div background color is #240C28.

Border color

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

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

This div border color is #240C28.

Opacity

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

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

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

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

This text has shadow with #240C28 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #240C28.

Preview

Color preview on black background

This text has color #240C28 on black background.


Color preview on white background

This text has color #240C28 on white background.


Black color preview on #240C28 background

This text has black color on #240C28 background.


White color preview on #240C28 background

This text has white color on #240C28 background.


Related colors

Complementary color

Complementary color for #hex is #DBF3D7.


I love getcolorcode.com

Triadic colors

1 #28240C and #0C2824 with #240C28 are triadic colors.

2 #280C24 and #0C2428 with #240C28 are triadic colors.