@@ -72,12 +72,12 @@ |
||
| 72 | 72 | /** |
| 73 | 73 | * Generate a random HSL color |
| 74 | 74 | * |
| 75 | - * @param int $min_r The min hue to allow |
|
| 76 | - * @param int $max_r The max hue to allow |
|
| 77 | - * @param int $min_g The min saturation to allow |
|
| 78 | - * @param int $max_g The max saturation to allow |
|
| 79 | - * @param int $min_b The min light to allow |
|
| 80 | - * @param int $max_b The max light to allow |
|
| 75 | + * @param int $min_h The min hue to allow |
|
| 76 | + * @param int $max_h The max hue to allow |
|
| 77 | + * @param int $min_h The min saturation to allow |
|
| 78 | + * @param int $max_h The max saturation to allow |
|
| 79 | + * @param int $min_h The min light to allow |
|
| 80 | + * @param int $max_h The max light to allow |
|
| 81 | 81 | * @return array The resulting color as a HSL array |
| 82 | 82 | */ |
| 83 | 83 | public static function hsl_rand(int $min_h = 0, int $max_h = 359, int $min_s = 0, int $max_s = 100, int $min_l = 0, int $max_l = 100) :array { |