MagicWB colors

new123 · 1292

new123

  • Newbie
  • *
    • Posts: 29
    • Karma: +38/-0
on: April 11, 2020, 02:53:23 PM
Hi,

How can I change colors to match MagicWB palette?



Yanosh

  • Member
  • ***
    • Posts: 106
    • Karma: +4/-0
Reply #1 on: April 11, 2020, 05:01:59 PM
I'm using the setpencolor command to set some of the colors to match few of the MagicWB colors. Try this and tell me if this works for you.

;PEN 4 - 119-119-199 (DEC) | 77-77-77 (HEX)
c:setpencolor SCREEN="Workbench" PEN=4 COLOR=$777777 >NIL:

;PEN 5 - 187-187-187 (DEC) | BB-BB-BB (HEX)
c:setpencolor SCREEN="Workbench" PEN=5 COLOR=$BBBBBB >NIL:

;PEN 6 - 204-170-119 (DEC) | CC-AA-77 (HEX)
c:setpencolor SCREEN="Workbench" PEN=6 COLOR=$77AACC >NIL:

Don't ask me more than this... because I don't remember how this was done.



new123

  • Newbie
  • *
    • Posts: 29
    • Karma: +38/-0
Reply #2 on: April 15, 2020, 12:22:20 PM
Yes, it works. Thanks!

Here is my script:

Code: [Select]
;Set MagicWB colors in AROS
setpencolor SCREEN="Workbench" PEN=0 COLOR=$959595
setpencolor SCREEN="Workbench" PEN=3 COLOR=$A2673B
setpencolor SCREEN="Workbench" PEN=4 COLOR=$7B7B7B
setpencolor SCREEN="Workbench" PEN=5 COLOR=$AFAFAF
setpencolor SCREEN="Workbench" PEN=6 COLOR=$7C90AA
setpencolor SCREEN="Workbench" PEN=7 COLOR=$97A9FF