2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

Color.pm: rgb2hsv fix

git-svn-id: https://svn.fhem.de/fhem/trunk@10870 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-02-18 10:54:20 +00:00
parent 8ad85a3010
commit f5b6171052

View File

@ -148,7 +148,7 @@ rgb2hsv($$$) {
$s = $c / $M;
}
$v = $M;
$v = $M/255;
return( $h,$s,$v );
}