Update HSP equation source link in color conversion method
The commit updates the source link for the HSP equation used in the color conversion method to a more accurate reference.
This commit is contained in:
parent
cd5a80b33b
commit
4b3c4f1755
|
@ -66,7 +66,7 @@ class AppExtension extends AbstractExtension
|
|||
$value = hexdec($value);
|
||||
}
|
||||
|
||||
// HSP (Highly Sensitive Poo) equation from http://alienryderflex.com/hsp.html
|
||||
// HSP equation from http://alienryderflex.com/hsp.html
|
||||
$hsp = sqrt(
|
||||
0.299 * ($color[0] * $color[0]) +
|
||||
0.587 * ($color[1] * $color[1]) +
|
||||
|
|
Loading…
Reference in New Issue
Block a user