Demo · Colors

  • Textcolor : <?php echo color('text') ?>

    #333

  • Texthighlight : <?php echo color('texthighlight') ?>

    #08c

  • Body (Background) : <?php echo color('body') ?>
    #f9f9f9

  • Background : <?php echo color('background') ?>
    #fff

  • Border : <?php echo color('border') ?>
    #ddd (Bordercolor)

  • Alternate (Background) : <?php echo color('alternate') ?>
    #eee


Second optional parameters [Brightness] :

  • Body - light : <?php echo color('body', 'light') ?>
    #fbfbfb
  • Body - lighter : <?php echo color('body', 'lighter') ?>
    #fdfdfd
  • Body - dark : <?php echo color('body', 'dark') ?>
    #c7c7c7
  • Body - darker : <?php echo color('body', 'darker') ?>
    #959595

As percentage [accepted range: -100% .. 100%]

  • Alternate - increase 30% : <?php echo color('alternate', '+30%') ?>
    #f4f4f4
  • Alternate - decrease 40% : <?php echo color('alternate', '-40%') ?>
    #8f8f8f

Individual color :

  • #4fab45
  • #4fab45 - increase 50% : <?php echo brightness('#4fab45', '+50%') ?>
    #a8d6a3
  • #4fab45 - decrease 50% : <?php echo brightness('#4fab45', '-50%') ?>
    #285623