Re: iCal Calendar Colors
Re: iCal Calendar Colors
- Subject: Re: iCal Calendar Colors
- From: kai <email@hidden>
- Date: Tue, 24 May 2005 20:44:39 +0100
On Tuesday, May 24, 2005, at 08:15 pm, Todd Geist wrote:
On May 24, 2005, at 11:53 AM, Martin Orpen wrote:
To get an 8 bit colour value (2^8) from a 16 bit one (2^16) you need
to divide it by 2^8:
58853 div (2 ^ 8)
--> 229
PS: You can't do this with Photoshop colour values because it uses
(2^15)+1 rather than real 16 bit values.
actually I beg to differ. it equals 229.89453125
The 'div' function should result in an integer:
58853 / (2 ^ 8) --> 229.89453125
58853 div (2 ^ 8) --> 229
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden