Written by Nathan Kelson
This macro allows you to evaluate a pixel color based off of the color name rather than an integer value that may change.
Download the macro file umRGBColorEvaluator.mex and save it to your hard drive where you store your macro file(s). Import the macros into your existing macro file by clicking File, Import, Import Macros.
To use it simply place your mouse over the pixel in question and run the macro. It will get the ‘Pixel Value’ information, it then changes that information to an RGB value, and then compares the RGB value to a list of known colors to determine which one color it most closely relates to and returns that color name.
If there is a color you would like to include, simply add it to the macro in the same format (Name, R value, G value, B value) and increase the number of times the macro repeats.
This is program independent and will get the “Pixel Value” and display that value first. Then it displays the RGB color values in three ‘variable prompt’ windows, Red, Green then Blue. Leave this information as is. Once it has evaluated the RGB it will also tell you the color name of the color most closely related to the RGB value. The 20 most common color names are included in the ‘RGB color evaluator’ macro. This macro calls the ‘More colors’ macro to get names of additional colors.
Nathan wins a Macro Express T-shirt for his submission.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |