Advertisement
Guest User

Untitled

a guest
Apr 6th, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dim as uinteger clr = rgb(1,3,5)
  2. dim as ubyte r,g,b
  3.  
  4. b = clr and 255
  5. g = clr shr 8 and 255
  6. r = clr shr 16 and 255
  7.  
  8. print r,g,b
  9.  
  10. print bin(clr)
  11.  
  12. sleep
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement