SetColor Bitmap Command

Sets the brush color.

setcolor [FORE type color] [BACK type color] [NAME name]

FORE Sets the foreground color.

BACK Sets the background color.

type/k The color type.

Options: GRAY | PALETTE | RGB | CMYK.

color/i The color values.

Options: GRAYSCALE 0-255
PALETTE 0-15 or 0-255
RGB 0-255 0-255 0-255
CMYK 0-255 0-255 0-255 0-255

NAME/s The picture name. Default=current.

Examples:
ARexx:

setcolor fore palette 5 name 'Graphics:Tiger.ILBM'
setcolor back grayscale 115
setcolor fore palette 3 back palette 255
setcolor fore rgb 100 73 192
setcolor back cmyk 0 0 55 200

 

SetColor  Command Definition  url:BMEcmd/setcolor
  created:2006-04-19 15:32:21   last updated:2006-08-19 11:51:59
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetColor
There are no user contributed comments for this page.