![]() GuiControl +Background%CurColor%, CurColBox NewColor := ChooseColor(CurColor, WinActive("A")) If the sample size is greater than Point this will display difference between the most different pixel, the most similar pixel and the average of all the pixels. Additionally the different between the Pot and the pixel under the cursor is displayed in a Tooltip when the Windows Key is held down. For example if the Pot was 3310DB and Current was 2230AB it would display -1120-33 (48). This includes both the difference in each primary color in signed hex and the greatest "variation" as used by the AHK Search commands, in decimal. Show Color Difference - Displays the difference between the Pot and the "Current" color. GuiControl Move, SampleSize, H%Size% W%Size% StringTrimLeft Size, Size, InStr(Size, "x") ~RWin:: start menu if you hold it down for at least a second. ~LWin:: This prevents the Windows Key from opening the GuiControl,, MixHexBox, % FormatHex(MixColor) GuiControl +Background%MixColor%, MixColBox MixColor := Round(MixR/MixNum) * 65536 + Round(MixG/MixNum) * 256 + Round(MixB/MixNum) Menu Options, Add, BGR Color Codes, MenuBGR Menu Options, Add, Show Color Difference, MenuShowDiff Gui Add, Button, X90 Y108 H16 W34 -TabStop gHelp, &Help Gui Add, Button, X90 Y88 H16 W34 -TabStop gOptions, &Opt. Gui Add, Text, X64 Y100 H1 W1 0x4 vSampleSize Gui Add, Text, X4 Y84 H16 W64, Sample Size: Gui Add, Button, X112 Y60 H12 W12 -TabStop gMixColEdit, Gui Add, ListView, X60 Y56 H24 W48 ReadOnly +0x4000 +Background000000 vMixColBox lv0x800000 0x4 -TabStop gCopyMixColor AltSubmit Gui Add, Text, X4 Y40 H16 W48 BackgroundTrans vMixedLabel, Pot (0) Gui Add, Text, X44 Y40 H16 W80 BackgroundTrans Right vDiffLabel, ![]() Gui Add, Button, X112 Y20 H12 W12 -TabStop gCurColEdit, Gui Add, ListView, X60 Y16 H24 W48 ReadOnly +0x4000 +Background000000 vCurColBox lv0x800000 0x4 -TabStop gCop圜urColor AltSubmit Gui +ToolWindow +E0x40000 -Theme +AlwaysOnTop ![]() Two options are available:īGR Color Codes - Shows all colors in BGR format, instead of RGB. Shift - Replace the color in the Pot instead of adding to it.Īlt - Blend with the color in the Pot 1:1 even if it contains several samples.Ĭtrl - Sample only one pixel, even if Sample Size is set larger.Ĭlicking the small square buttons will open the Windows color picker. You can also hold down these keys in addition to the Windows Key, with the following effects: This might be useful when the sample is not a completely solid color. Using the Sample Size dropdown you can have Color Pot draw color from a larger area instead of just one pixel. Left-clicking one of the hex labels or color boxes will copy the hex code or a small swatch of that color to the clipboard respectively. The number in ()s tells how many colors are in the Pot. If you add multiple colors, they will be mixed in equal proportions. If there was already a color in the Pot, the colors will be combined. Clicking while holding down the Windows Key will add the color you're pointing at to the "Pot", the second two boxes. The color and its hex code will appear in the boxes labeled "Current". Hold down the Windows Key to grab the color the mouse is pointing at. Here's a short description, as seen when clicking the help button:Ĭolor Pot can grab and mix colors found on the screen. You can either copy the hexadecimal color code, or a little square of the color itself, and you're on your own form there. I'm fairly pleased with how it came out, though getting the result back into the art program is a little bit of a pain. The other is to arbitrarily blend two or more colors together. One is to sample the color of an area, rather than just one pixel and take the average. I made this to to perform two related functions I've often wished my art program had.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |