Jump to content

Search the Community

Showing results for tags 'shades'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Extended Color Mixer i want to share one of my little helpers. - what does it do ? RGB color system is the mathematical description of colors, so to say, it explains colors (a sensual impression) to a machine. in contrast to that, the human eye interprets colors in the HSL (hue-saturation-luminance) matrix. these two systems are not much compatible. if you want to use "neighbour" colors in a gui, or very distant colors for more contrast (e.g. in games), the tuning on the Red-Green-Blue scale rarely returns satisfying results and it is very hard to compare colors to find out the most suitable. so i took the well known windows colorpicker, which uses HSL system, and extended it. the HSL square displays colors according to the hue on the horzontal and saturation on the vertical axis. the luminance is the "third dimension" slider to the right of it. so, HSL is a 3D model of colors, while RGB is 2 dimensional, a triangle with Red Green and Blue at the edges. i amended sliders for the RGB color scale on the right to the colorpicker window. the color you pick is displayed in the central "base color" label. to the bottom of the window i added an array in which related colors to the base color will be created. basically you have to choose if you want to create similar or "distant" colors to the base color. you can choose a threshold that represents the min/max distance to the base color. additionally, you can choose the standard for the distance calculation. the euclidean distance simply is the spacial distance in the RGB room. the industry defined some weighting standards of the colors to fit better to the human eye's sensation (NTSC, HDTV, HSP a.o.). additionally you can set up saturation and luminance filters to precise your search. the mixer puts the chosen color in Hexcode into your clipboard. if you keep the ctrl button pressed, all colors you pick will be collected. you can toggle the clipboard function off by clicking on the clipboard statusbar label, and restore your old clipboard content. the two buttons "Collect All" and "OK" have no function that i know of, it is an "unfinished project" now you can try it out and play around. i have often used the modified "Shades()" function in other scripts to create desired colors within a program. feel free to use the algorithms. . taken down. Edit: screenshot
×
×
  • Create New...