www/includes/formulas.php

changeset 91
44981507b781
parent 90
d4246abee34e
child 94
295c3af2a421
equal deleted inserted replaced
90:d4246abee34e 91:44981507b781
179 * Kleurwerking naar SRM 179 * Kleurwerking naar SRM
180 */ 180 */
181 function kw_to_srm($colormethod, $c) { 181 function kw_to_srm($colormethod, $c) {
182 182
183 if ($colormethod == "Morey") 183 if ($colormethod == "Morey")
184 return 1.49 * pow($c, 0.69); 184 return 1.4922 * pow($c, 0.6859);
185 if ($colormethod == "Mosher") 185 if ($colormethod == "Mosher")
186 return 0.3 * $c + 4.7; 186 return 0.3 * $c + 4.7;
187 if ($colormethod == "Daniels") 187 if ($colormethod == "Daniels")
188 return 0.2 * $c + 8.4; 188 return 0.2 * $c + 8.4;
189 } 189 }

mercurial