Home HTML CSS JAVASCRIPT BOOTSTRAP Python Docker ML tutorial About us Privacy policy

CSS Colors


CSS Colors in HTML



The color property that is allows you to define the colora of text inside an elementa and background. You can define the colors in CSS in one of three types:

  • rgb:-
  • These colors is how much red, green and blue are used to make it up in HTML. For example: rgb(100,100,90)

  • hex codes:-
  • this is six-digit codes that show the amounts of red, green and blue in a color in the html webpages,

    color names:-

    red,black,white,etc

    background-color:-



    Code Family

    we areCode Family



    CSS Text Color:-


    code family

    code family



    CSS Border Color:-


    code family

    code family


    CSS Color Values:-