|
Colors are coded by their red, green, blue values where each value is 0 through 255 (00 through ff in hex) A value might be 130:130:130 which is a gray, or it might be 255:0:0 which would be a red-only. White is 255:255:255 while black is 0:0:0 0.0.0 is the same as 000.000.000, and either notation is accepted. My need is to find each of these block's numerical value. I am finding this extremely confusing for me as the field can vary from 5 to 11 characters long. After that, I need to convert the number to its hex equivalent. Any ideas would be appreciated. (yes, its an RPGIV question.) --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx ---------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.