Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get the fourth hex value
Message
De
10/10/2012 10:05:54
 
 
À
10/10/2012 09:56:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01554642
Message ID:
01554650
Vues:
37
>I'm not a graphics designer, just an attempt

This seems like an awesome approach. I did not think of separating the RGB values for calculation. However, there seems to be an adjustment. This provides a HEX color result but not exactly the one I am looking for. Attached, you can see the first image which is the template. That's the one holding the base reference for calculation. That one is the green one. You can see that the Main color and the Table header background color are the two colors I gave. This is representing in your message as the first pair. Then, on the next image, you can see the blue template. You can see that the main color is the first color of the second pair, where we need to calculate the second one. Your formula gives a color geared towards a shade of red. I am looking to obtain a lighter color of blue. In the first image, we can see that the second color is lighter than the main color which is a darker green. So, from the darker blue, we need to obtain a lighter blue. I am looking at your code to see if I can spot something that has to be adjusted. With the explanation I gave, does this still reflect the code you provided or that can help to fine tune the code to help in that direction?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform