Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- color A
- title Color generator by F4stZ4p
- mode con:cols=56 lines=5
- :cgen
- cls
- set MIN=0
- set MAX=255
- set /a R=MIN+(MAX-MIN+1) * %random%/32768
- set MIN=0
- set MAX=255
- set /a G=MIN+(MAX-MIN+1) * %random%/32768
- set MIN=0
- set MAX=255
- set /a B=MIN+(MAX-MIN+1) * %random%/32768
- echo %R%,%G%,%B%
- @echo %R%,%G%,%B%| Clip
- echo Copied to clipboard!
- echo Press any key to generate again.
- pause
- goto :cgen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement