Results 1 to 3 of 3

Thread: Question about RGB and Hexadecimal color

  1. #1

    Thread Starter
    Member fly_dragoon's Avatar
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    47

    Question Question about RGB and Hexadecimal color

    Ok I have 2 question

    (first): How can I get the color of the pixel right under the mouse cursor?

    (second): how can I change an hexadecimal color value into an RGB color value and how can change an RGB color value to an Hexadecimal color value?

    Thank to anyone that will help me!
    Waiting in the shadow...learning and learning....perfectionning my programming skill....I'll see the fall of Bill Gates....and soon enought....HE WILL SEE MY RISING AND I WILL BE HIS BOSS.....and I will RULE THE WORLD!!! MUHAHAHA........(sorry sometime it happen to me.... if it happen again, don't mind me!!!)

  2. #2
    Red Rush-In
    Guest
    1. Check out this API function first. GetPixal
    Are you wanting to get the RGB value for a region on a form or anywhere in windows?

    2. Check out the following functions..
    Hex(number)
    RGB(red, green, blue)

    Also here is a function on the MSN website that may help you out.

  3. #3

    Thread Starter
    Member fly_dragoon's Avatar
    Join Date
    Oct 2001
    Location
    Canada
    Posts
    47

    Cool Thank

    Thank's

    You helped me twice today!
    Waiting in the shadow...learning and learning....perfectionning my programming skill....I'll see the fall of Bill Gates....and soon enought....HE WILL SEE MY RISING AND I WILL BE HIS BOSS.....and I will RULE THE WORLD!!! MUHAHAHA........(sorry sometime it happen to me.... if it happen again, don't mind me!!!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width