Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Is there a place that lists hex or assembly colors such as #$0A is pink?

I am using an online assembly language emulator and it is working with coloring a pixel I believe by hexadecimal.

For example LDA #$01 becomes white

I changed this to LDA #$0A and got pink.

Is there a place that lists all colors up to LDA #$ff

I am new to assembly language and mostly new to hex

The Emulator is here

http://skilldrick.github.io/easy6502/index.html

1 Answer

Relevance
  • 5 years ago

    I sort of found an answer to my own question, only in that I found a list of notes on the page I was on but I haven't found any decent lists online but in case anyone else ends up here, here are the colors.

    $0: Black

    $1: White

    $2: Red

    $3: Cyan

    $4: Purple

    $5: Green

    $6: Blue

    $7: Yellow

    $8: Orange

    $9: Brown

    $a: Light red

    $b: Dark grey

    $c: Grey

    $d: Light green

    $e: Light blue

    $f: Light grey

Still have questions? Get answers by asking now.