color details

Color Details
#ff4040 Color Hex

#ff4040 color RGB value is (15, 244, 4).
#ff4040 hex color red value is 15, green value is 244, and blue value is 4.
Cylindrical-coordinate representations (HSL) of color #ff4040 hue: 117.25, saturation: 0.97 and lightness: 0.49.

The process color (four-color CMYK) of #ff4040 color hex is 0.00, 0.28, 0.40, 0.03. Web safe color of #ff4040 is #ff9999. Color #ff4040 contains mainly RED.

Color Spaces
Color spaces of #ff4040Value
RGB255, 64, 64
HSL0, 1, 0.63
HSV0°, 75°, 100°
XYZ44, 25.3, 7.42
Base Numbers
Base Red Green Blue
Binary 11111111 1000000 1000000
Octal 377 100 100
Decimal 255 64 64
Hex FF 40 40

RGB Percentages for Color #ff4040

66.58%
16.71%
16.71%

CMYK Percentages of the Color #ff4040

74.9%
74.9%
CSS Codes for Color #ff4040
.mybgColor {background-color: #ff4040;}
.myforeColor {color: #ff4040;}
.myborderColor {border:3px solid #ff4040;}
Text Font Color #ff4040

<p style="color:#ff4040">Text here</p>

This sample text is styled with the font color #ff4040. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here,

Background Color #ff4040

<div style="background-color:#ff4040">Div content here</div>

The background color of this div is #ff4040
Border Color #ff4040

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

The border color of this div is #ff4040
Css3 Examples
            .textShadowRgb {
                text-shadow: 4px 4px 2px rgba(255, 64, 64, 0.8);            }
            .textShadowHex {
                text-shadow: 4px 4px 2px #ff4040;            }
            .divShadow {
                -moz-box-shadow: 1px 1px 3px #ff4040;
-webkit-box-shadow: 1px 1px 3px #ff4040;
box-shadow: 1px 1px 3px #ff4040;            }
            
Text Shadow Using RGB Values

<p style="text-shadow: 4px 4px 2px rgba(255, 64, 64, 0.8);">Text here</p>

This text has a shadow with RGB values.

Text Shadow Using Hex Values

<p style="text-shadow: 4px 4px 2px #ff4040;">Text here</p>

This text has a shadow with hexadecimal (hex) values.

Shadow Div Box

<div style="-moz-box-shadow: 1px 1px 3px #ff4040; -webkit-box-shadow: 1px 1px 3px #ff4040; box-shadow: 1px 1px 3px #ff4040;">Div content here</div>

This div box has a shadow with a specified color. #ff4040
Scroll to Top