Re: Hue Angle for Black
Re: Hue Angle for Black
- Subject: Re: Hue Angle for Black
- From: Klaus Karcher <email@hidden>
- Date: Thu, 27 Aug 2009 10:10:56 +0200
Klaus Karcher wrote:
A CIE hue angle function in Excel could look like this:
=IF(
AND(a<>0;b<>0);
IF(ATAN2(a;b)<0;
ATAN2(a;b)*180/PI()+360;
ATAN2(a;b)*180/PI());0)
... sorry ... the formula I posted was wrong. The correct formula is:
=IF(
AND(a=0;b=0);0;
IF(ATAN2(a;b)<0;
ATAN2(a;b)*180/PI()+360;
ATAN2(a;b)*180/PI()))
Klaus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden