This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var color = app.foregroundColor.rgb, | |
| output = "RGB("+ | |
| color.red + ", " + | |
| color.green + ", " + | |
| color.blue + | |
| ")"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Adobe Photoshop Script | |
| * | |
| * DESCRIPTION: | |
| * Script duplicates selected layer and places it on the top of layers stack | |
| * | |
| * INSTALATION: | |
| * To access script from "File > Scripts", place it into "Photoshop/Presets/Scripts" and restart your Photoshop | |
| * You can also set up hotkey in "Edit > Keyboard Shortcuts..." | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Original Source: | |
| https://twitter.com/erindale_xyz/status/1363298619659583497 | |
| With some modifications from me | |
| */ | |
| //Darken: | |
| min(A, b) |