#ffd940 Hex Color
rgb(255, 217, 64)
Color Information
| Name | First value | Second Value | Third Value | Fourth Value | Written As |
|---|---|---|---|---|---|
| HEX | ff | d9 | 40 | - | #ffd940 |
| RGB | 255 | 217 | 64 | - | rgb(255,217,64) |
| HSL | 48 | 100% | 63% | - | hsl(48,100%,63%) |
| HSV | 48 | 75% | 100% | - | hsv(48,75%,100%) |
| XYZ | 66.9783 | 71.2559 | 15.0741 | - | xyz(66.9783,71.2559,15.0741) |
| CIE-LAB | 87.61 | -1.65 | 75.17 | - | lab(87.61,-1.65,75.17) |
| CMYK | 0 | 0.14901960784314 | 0.74901960784314 | 0 | cmyk(0,0.14901960784314,0.74901960784314,0) |
Description
The RGB value of color #ffd940 is rgb(255, 217, 64).
In the hex color #ffd940, The value of Red is 255, value of Green is 217, and value of Blue is 64. The primary color is Red. Similarly, The HSL values for #ffd940 consists of 48° Hue, 100% Saturation, and 63% Lightness.
In the CMYK color model, the color #ffd940 can be represented as Cyan=0%, Magenta=0.14901960784314%, Yellow=0.74901960784314%, and Black=0%.
Shades of #ffd940
Shades in a color are variations of the color that are created by adding black to it which results in a darker tone.
Tints of #ffd940
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #ffd940
Preview of #ffd940 on White Background
The contrast ratio of #ffd940 with white color is 1.38
Preview of #ffd940 on black background
The contrast ratio of #ffd940 with black color is 15.25
#ffd940 color will look good with a black background.
Color Schemes of #ffd940
Triadic Colors of #ffd940
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #ffd940
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Triadic Colors of #ffd940
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #ffd940
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Color Usage
You can set the css color of a text using:
.class{
color: #ffd940;
}
This is a sample text used for the color #ffd940. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css background color of a box using:
.box{
background-color: #ffd940;
}
This is a sample text used for the color #ffd940. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css border of a box using:
.box{
border:4px solid #ffd940;
}
This is a sample text used for the color #ffd940. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
RGB Percentage
Red 47.57%
Green 40.49%
Blue 11.94%
CMYK Percentage
Cyan 0
Magenta 16.59%
Yellow 83.41%
Black 0%
Comments on this color
Please login or signup to post a comment.
No comments yet.