Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
the problem is that i cant separate R,G,B components from color.tostring .... the string looks something like this "Color [A=255, R=255, G=255, B=255]" now i cant get those components to int variables.... notice the string lenght is changing when the RGB values change... I also tried this ToArgb but it gave me weird readings like -16777232 how do u read it ? is it hex or what ? is the colors in random order ? im trying to do a proggy which can identify colors and play the color from .wav ...but the colors can vary...i need a scale for the colors... e.g. from dark blue to light blue....if the RGB value match in that RGB scale the proggy consider the color as e.g. blue and play the blue.wav... i really need help with this one.... so suprise me! sorry for my bad english!

"Everything should be made as simple as possible, but not simpler."

"It's not that I'm so smart , it's just that I stay with problems longer ."

- Albert Einstein

Posted

lol

 

you really saved my day... I also noticed how dumb I am LOL ..I never payed attention to those properties like .R .G .B ... i just tried to find a function ! anyway THX A LOT! :D

"Everything should be made as simple as possible, but not simpler."

"It's not that I'm so smart , it's just that I stay with problems longer ."

- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...