MagicWB colors

new123 · 434

new123

  • Newbie
  • *
    • Posts: 14
    • Karma: +0/-0
on: April 11, 2020, 09:53:23 PM
Hi,

How can I change colors to match MagicWB palette?



Yanosh

  • Junior Member
  • **
    • Posts: 92
    • Karma: +1/-0
Reply #1 on: April 12, 2020, 12:01:59 AM
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: 14
    • Karma: +0/-0
Reply #2 on: April 15, 2020, 07: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