What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [huh?] ColorRef

[huh?] ColorRef
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [huh?] ColorRef
So if you have a color like #FF8000 (bright yellow), the COLORREF value would be 0x000080FF. :)

Here's an equivalent for the RGB macro you're so familiar with:
code:
function RGB(r, g, b) {
   return ((b & 0xFF) << 16) | ((g & 0xFF) << 8) | (r & 0xFF);
}

This post was edited on 08-23-2008 at 01:52 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
08-23-2008 01:48 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[huh?] ColorRef - by SmokingCookie on 08-23-2008 at 10:26 AM
RE: [huh?] ColorRef - by Volv on 08-23-2008 at 01:36 PM
RE: [huh?] ColorRef - by Matti on 08-23-2008 at 01:48 PM
RE: [huh?] ColorRef - by CookieRevised on 08-23-2008 at 02:08 PM
RE: [huh?] ColorRef - by SmokingCookie on 08-23-2008 at 02:34 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On