예제 #1
0
 protected function generateStep(ColorInterface $baseColor, $i, $step)
 {
     return Color::lighten($baseColor, $i * $step);
 }
예제 #2
0
파일: functions.php 프로젝트: talesoft/phim
function color_lighten($color, $ratio)
{
    return Color::lighten(color_get($color), $ratio);
}