Colors play an important in a webpage because colors make our webpage beautiful and attractive. Colors can change the temperaments, decrease or increment pressures, cause fervor and some of the time have a calming impact for a drained individual.
Color combination for webpage?
Men Prefer Blue, Green, and Black
Women Prefer Blue, Purple, and Green
Use Blue to Cultivate Trust
Yellow is for Warnings
Green is Ideal for Environmental and Outdoor Products and Brands
Orange Can Create a Sense of Haste or Impulse
Black Adds a Sense of Luxury and Value
Use Bright Primary Colors for Your Call To Action
Don’t Neglect White
Use light colors so that visitor can spend more time on your website
Text Color in CSS
color:blue; /* for text color */
Background Color in CSS
background-color:red; /* for Background color */
Border Color in CSS
border:2px solid blue; /* for Border color */
Types of Color we can use in CSS
We can use color codes, color name,and RGB
Colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values.