It's more of an iCal client question, but maybe someone here know the answer. I'm trying to display calendar events in a Web app and I'm fetching the events by CalDAV from Calendar Server. And I use the color of the event's calendar to display the event with this color. So I fetch the "calendar-color" from the property, but the problem is that the color might be set like : #E51717FF Why it's 8 hex instead of 6? ------------------------------------------------------- Pascal Robert http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti Skype: MacTICanada AIM/iChat : MacTICanada
On 25.02.2009, at 20:52, Pascal Robert wrote:
#E51717FF
Why it's 8 hex instead of 6?
Probably the alpha channel? FF most likely means opaque ... Greets, Helge -- Helge Hess http://helgehess.eu/
On Feb 25, 2009, at 11:52 AM, Pascal Robert wrote:
It's more of an iCal client question, but maybe someone here know the answer. I'm trying to display calendar events in a Web app and I'm fetching the events by CalDAV from Calendar Server. And I use the color of the event's calendar to display the event with this color. So I fetch the "calendar-color" from the property, but the problem is that the color might be set like :
#E51717FF
Why it's 8 hex instead of 6?
Beware that's an iCal thing, not a standard property. Probably not a big deal, just FYI. -wsv
Le 09-03-03 à 18:03, Wilfredo Sánchez Vega a écrit :
On Feb 25, 2009, at 11:52 AM, Pascal Robert wrote:
It's more of an iCal client question, but maybe someone here know the answer. I'm trying to display calendar events in a Web app and I'm fetching the events by CalDAV from Calendar Server. And I use the color of the event's calendar to display the event with this color. So I fetch the "calendar-color" from the property, but the problem is that the color might be set like :
#E51717FF
Why it's 8 hex instead of 6?
Beware that's an iCal thing, not a standard property. Probably not a big deal, just FYI.
I know :-) It's a Web app that reads calendars to display upcoming events and I use the calendar color coming from iCal to put a color next to the events (somewhat like the screens at WWDC).
participants (3)
-
Helge Heß
-
Pascal Robert
-
Wilfredo Sánchez Vega