A Color Code Chart for HTML documents

Ed Uthman, MD

Text Colors

Against neutral background

This COLOR is 000000 |This COLOR is 400000 |This COLOR is 800000 |This COLOR is C00000 |This COLOR is FF0000|
This COLOR is 004000 |This COLOR is 404000 |This COLOR is 804000 |This COLOR is C04000 |This COLOR is FF4000|
This COLOR is 008000 |This COLOR is 408000 |This COLOR is 808000 |This COLOR is C08000 |This COLOR is FF8000|
This COLOR is 00C000 |This COLOR is 40C000 |This COLOR is 80C000 |This COLOR is C0C000 |This COLOR is FFC000|
This COLOR is 00F000 |This COLOR is 40F000 |This COLOR is 80F000 |This COLOR is C0F000 |This COLOR is FFF000|
This COLOR is 00FF00 |This COLOR is 40FF00 |This COLOR is 80FF00 |This COLOR is C0FF00 |This COLOR is FFFF00|
This COLOR is 000040 |This COLOR is 400040 |This COLOR is 800040 |This COLOR is C00040 |This COLOR is FF0040|
This COLOR is 004040 |This COLOR is 404040 |This COLOR is 804040 |This COLOR is C04040 |This COLOR is FF4040|
This COLOR is 008040 |This COLOR is 408040 |This COLOR is 808040 |This COLOR is C08040 |This COLOR is FF8040|
This COLOR is 00C040 |This COLOR is 40C040 |This COLOR is 80C040 |This COLOR is C0C040 |This COLOR is FFC040|
This COLOR is 00F040 |This COLOR is 40F040 |This COLOR is 80F040 |This COLOR is C0F040 |This COLOR is FFF040|
This COLOR is 00FF40 |This COLOR is 40FF40 |This COLOR is 80FF40 |This COLOR is C0FF40 |This COLOR is FFFF40|
This COLOR is 000080 |This COLOR is 400080 |This COLOR is 800080 |This COLOR is C00080 |This COLOR is FF0080|
This COLOR is 004080 |This COLOR is 404080 |This COLOR is 804080 |This COLOR is C04080 |This COLOR is FF4080|
This COLOR is 008080 |This COLOR is 408080 |This COLOR is 808080 |This COLOR is C08080 |This COLOR is FF8080|
This COLOR is 00C080 |This COLOR is 40C080 |This COLOR is 80C080 |This COLOR is C0C080 |This COLOR is FFC080|
This COLOR is 00F080 |This COLOR is 40F080 |This COLOR is 80F080 |This COLOR is C0F080 |This COLOR is FFF080|
This COLOR is 00FF80 |This COLOR is 40FF80 |This COLOR is 80FF80 |This COLOR is C0FF80 |This COLOR is FFFF80|
This COLOR is 0000C0 |This COLOR is 4000C0 |This COLOR is 8000C0 |This COLOR is C000C0 |This COLOR is FF00C0|
This COLOR is 0040C0 |This COLOR is 4040C0 |This COLOR is 8040C0 |This COLOR is C040C0 |This COLOR is FF40C0|
This COLOR is 0080C0 |This COLOR is 4080C0 |This COLOR is 8080C0 |This COLOR is C080C0 |This COLOR is FF80C0|
This COLOR is 00C0C0 |This COLOR is 40C0C0 |This COLOR is 80C0C0 |This COLOR is C0C0C0 |This COLOR is FFC0C0|
This COLOR is 00F0C0 |This COLOR is 40F0C0 |This COLOR is 80F0C0 |This COLOR is C0F0C0 |This COLOR is FFF0C0|
This COLOR is 00FFC0 |This COLOR is 40FFC0 |This COLOR is 80FFC0 |This COLOR is C0FFC0 |This COLOR is FFFFC0|
This COLOR is 0000FF |This COLOR is 4000FF |This COLOR is 8000FF |This COLOR is C000FF |This COLOR is FF00FF|
This COLOR is 0040FF |This COLOR is 4040FF |This COLOR is 8040FF |This COLOR is C040FF |This COLOR is FF40FF|
This COLOR is 0080FF |This COLOR is 4080FF |This COLOR is 8080FF |This COLOR is C080FF |This COLOR is FF80FF|
This COLOR is 00C0FF |This COLOR is 40C0FF |This COLOR is 80C0FF |This COLOR is C0C0FF |This COLOR is FFC0FF|
This COLOR is 00F0FF |This COLOR is 40F0FF |This COLOR is 80F0FF |This COLOR is C0F0FF |This COLOR is FFF0FF|
This COLOR is 00FFFF |This COLOR is 40FFFF |This COLOR is 80FFFF |This COLOR is C0FFFF |This COLOR is FFFFFF|

Against black background

This COLOR is 000000 |This COLOR is 400000 |This COLOR is 800000 |This COLOR is C00000 |This COLOR is FF0000|
This COLOR is 004000 |This COLOR is 404000 |This COLOR is 804000 |This COLOR is C04000 |This COLOR is FF4000|
This COLOR is 008000 |This COLOR is 408000 |This COLOR is 808000 |This COLOR is C08000 |This COLOR is FF8000|
This COLOR is 00C000 |This COLOR is 40C000 |This COLOR is 80C000 |This COLOR is C0C000 |This COLOR is FFC000|
This COLOR is 00F000 |This COLOR is 40F000 |This COLOR is 80F000 |This COLOR is C0F000 |This COLOR is FFF000|
This COLOR is 00FF00 |This COLOR is 40FF00 |This COLOR is 80FF00 |This COLOR is C0FF00 |This COLOR is FFFF00|
This COLOR is 000040 |This COLOR is 400040 |This COLOR is 800040 |This COLOR is C00040 |This COLOR is FF0040|
This COLOR is 004040 |This COLOR is 404040 |This COLOR is 804040 |This COLOR is C04040 |This COLOR is FF4040|
This COLOR is 008040 |This COLOR is 408040 |This COLOR is 808040 |This COLOR is C08040 |This COLOR is FF8040|
This COLOR is 00C040 |This COLOR is 40C040 |This COLOR is 80C040 |This COLOR is C0C040 |This COLOR is FFC040|
This COLOR is 00F040 |This COLOR is 40F040 |This COLOR is 80F040 |This COLOR is C0F040 |This COLOR is FFF040|
This COLOR is 00FF40 |This COLOR is 40FF40 |This COLOR is 80FF40 |This COLOR is C0FF40 |This COLOR is FFFF40|
This COLOR is 000080 |This COLOR is 400080 |This COLOR is 800080 |This COLOR is C00080 |This COLOR is FF0080|
This COLOR is 004080 |This COLOR is 404080 |This COLOR is 804080 |This COLOR is C04080 |This COLOR is FF4080|
This COLOR is 008080 |This COLOR is 408080 |This COLOR is 808080 |This COLOR is C08080 |This COLOR is FF8080|
This COLOR is 00C080 |This COLOR is 40C080 |This COLOR is 80C080 |This COLOR is C0C080 |This COLOR is FFC080|
This COLOR is 00F080 |This COLOR is 40F080 |This COLOR is 80F080 |This COLOR is C0F080 |This COLOR is FFF080|
This COLOR is 00FF80 |This COLOR is 40FF80 |This COLOR is 80FF80 |This COLOR is C0FF80 |This COLOR is FFFF80|
This COLOR is 0000C0 |This COLOR is 4000C0 |This COLOR is 8000C0 |This COLOR is C000C0 |This COLOR is FF00C0|
This COLOR is 0040C0 |This COLOR is 4040C0 |This COLOR is 8040C0 |This COLOR is C040C0 |This COLOR is FF40C0|
This COLOR is 0080C0 |This COLOR is 4080C0 |This COLOR is 8080C0 |This COLOR is C080C0 |This COLOR is FF80C0|
This COLOR is 00C0C0 |This COLOR is 40C0C0 |This COLOR is 80C0C0 |This COLOR is C0C0C0 |This COLOR is FFC0C0|
This COLOR is 00F0C0 |This COLOR is 40F0C0 |This COLOR is 80F0C0 |This COLOR is C0F0C0 |This COLOR is FFF0C0|
This COLOR is 00FFC0 |This COLOR is 40FFC0 |This COLOR is 80FFC0 |This COLOR is C0FFC0 |This COLOR is FFFFC0|
This COLOR is 0000FF |This COLOR is 4000FF |This COLOR is 8000FF |This COLOR is C000FF |This COLOR is FF00FF|
This COLOR is 0040FF |This COLOR is 4040FF |This COLOR is 8040FF |This COLOR is C040FF |This COLOR is FF40FF|
This COLOR is 0080FF |This COLOR is 4080FF |This COLOR is 8080FF |This COLOR is C080FF |This COLOR is FF80FF|
This COLOR is 00C0FF |This COLOR is 40C0FF |This COLOR is 80C0FF |This COLOR is C0C0FF |This COLOR is FFC0FF|
This COLOR is 00F0FF |This COLOR is 40F0FF |This COLOR is 80F0FF |This COLOR is C0F0FF |This COLOR is FFF0FF|
This COLOR is 00FFFF |This COLOR is 40FFFF |This COLOR is 80FFFF |This COLOR is C0FFFF |This COLOR is FFFFFF|

Against white background

This COLOR is 000000 |This COLOR is 400000 |This COLOR is 800000 |This COLOR is C00000 |This COLOR is FF0000|
This COLOR is 004000 |This COLOR is 404000 |This COLOR is 804000 |This COLOR is C04000 |This COLOR is FF4000|
This COLOR is 008000 |This COLOR is 408000 |This COLOR is 808000 |This COLOR is C08000 |This COLOR is FF8000|
This COLOR is 00C000 |This COLOR is 40C000 |This COLOR is 80C000 |This COLOR is C0C000 |This COLOR is FFC000|
This COLOR is 00F000 |This COLOR is 40F000 |This COLOR is 80F000 |This COLOR is C0F000 |This COLOR is FFF000|
This COLOR is 00FF00 |This COLOR is 40FF00 |This COLOR is 80FF00 |This COLOR is C0FF00 |This COLOR is FFFF00|
This COLOR is 000040 |This COLOR is 400040 |This COLOR is 800040 |This COLOR is C00040 |This COLOR is FF0040|
This COLOR is 004040 |This COLOR is 404040 |This COLOR is 804040 |This COLOR is C04040 |This COLOR is FF4040|
This COLOR is 008040 |This COLOR is 408040 |This COLOR is 808040 |This COLOR is C08040 |This COLOR is FF8040|
This COLOR is 00C040 |This COLOR is 40C040 |This COLOR is 80C040 |This COLOR is C0C040 |This COLOR is FFC040|
This COLOR is 00F040 |This COLOR is 40F040 |This COLOR is 80F040 |This COLOR is C0F040 |This COLOR is FFF040|
This COLOR is 00FF40 |This COLOR is 40FF40 |This COLOR is 80FF40 |This COLOR is C0FF40 |This COLOR is FFFF40|
This COLOR is 000080 |This COLOR is 400080 |This COLOR is 800080 |This COLOR is C00080 |This COLOR is FF0080|
This COLOR is 004080 |This COLOR is 404080 |This COLOR is 804080 |This COLOR is C04080 |This COLOR is FF4080|
This COLOR is 008080 |This COLOR is 408080 |This COLOR is 808080 |This COLOR is C08080 |This COLOR is FF8080|
This COLOR is 00C080 |This COLOR is 40C080 |This COLOR is 80C080 |This COLOR is C0C080 |This COLOR is FFC080|
This COLOR is 00F080 |This COLOR is 40F080 |This COLOR is 80F080 |This COLOR is C0F080 |This COLOR is FFF080|
This COLOR is 00FF80 |This COLOR is 40FF80 |This COLOR is 80FF80 |This COLOR is C0FF80 |This COLOR is FFFF80|
This COLOR is 0000C0 |This COLOR is 4000C0 |This COLOR is 8000C0 |This COLOR is C000C0 |This COLOR is FF00C0|
This COLOR is 0040C0 |This COLOR is 4040C0 |This COLOR is 8040C0 |This COLOR is C040C0 |This COLOR is FF40C0|
This COLOR is 0080C0 |This COLOR is 4080C0 |This COLOR is 8080C0 |This COLOR is C080C0 |This COLOR is FF80C0|
This COLOR is 00C0C0 |This COLOR is 40C0C0 |This COLOR is 80C0C0 |This COLOR is C0C0C0 |This COLOR is FFC0C0|
This COLOR is 00F0C0 |This COLOR is 40F0C0 |This COLOR is 80F0C0 |This COLOR is C0F0C0 |This COLOR is FFF0C0|
This COLOR is 00FFC0 |This COLOR is 40FFC0 |This COLOR is 80FFC0 |This COLOR is C0FFC0 |This COLOR is FFFFC0|
This COLOR is 0000FF |This COLOR is 4000FF |This COLOR is 8000FF |This COLOR is C000FF |This COLOR is FF00FF|
This COLOR is 0040FF |This COLOR is 4040FF |This COLOR is 8040FF |This COLOR is C040FF |This COLOR is FF40FF|
This COLOR is 0080FF |This COLOR is 4080FF |This COLOR is 8080FF |This COLOR is C080FF |This COLOR is FF80FF|
This COLOR is 00C0FF |This COLOR is 40C0FF |This COLOR is 80C0FF |This COLOR is C0C0FF |This COLOR is FFC0FF|
This COLOR is 00F0FF |This COLOR is 40F0FF |This COLOR is 80F0FF |This COLOR is C0F0FF |This COLOR is FFF0FF|
This COLOR is 00FFFF |This COLOR is 40FFFF |This COLOR is 80FFFF |This COLOR is C0FFFF |This COLOR is FFFFFF|

Background colors

This background is 000000 This background is 400000 This background is 800000 This background is C00000 This background is F00000 This background is FF0000
This background is 004000 This background is 404000 This background is 804000 This background is C04000 This background is F04000 This background is FF4000
This background is 008000 This background is 408000 This background is 808000 This background is C08000 This background is F08000 This background is FF8000
This background is 00C000 This background is 40C000 This background is 80C000 This background is C0C000 This background is F0C000 This background is FFC000
This background is 00F000 This background is 40F000 This background is 80F000 This background is C0F000 This background is F0F000 This background is FFF000
This background is 00FF00 This background is 40FF00 This background is 80FF00 This background is C0FF00 This background is F0FF00 This background is FFFF00
This background is 000040 This background is 400040 This background is 800040 This background is C00040 This background is F00040 This background is FF0040
This background is 004040 This background is 404040 This background is 804040 This background is C04040 This background is F04040 This background is FF4040
This background is 008040 This background is 408040 This background is 808040 This background is C08040 This background is F08040 This background is FF8040
This background is 00C040 This background is 40C040 This background is 80C040 This background is C0C040 This background is F0C040 This background is FFC040
This background is 00F040 This background is 40F040 This background is 80F040 This background is C0F040 This background is F0F040 This background is FFF040
This background is 00FF40 This background is 40FF40 This background is 80FF40 This background is C0FF40 This background is F0FF40 This background is FFFF40
This background is 000080 This background is 400080 This background is 800080 This background is C00080 This background is F00080 This background is FF0080
This background is 004080 This background is 404080 This background is 804080 This background is C04080 This background is F04080 This background is FF4080
This background is 008080 This background is 408080 This background is 808080 This background is C08080 This background is F08080 This background is FF8080
This background is 00C080 This background is 40C080 This background is 80C080 This background is C0C080 This background is F0C080 This background is FFC080
This background is 00F080 This background is 40F080 This background is 80F080 This background is C0F080 This background is F0F080 This background is FFF080
This background is 00FF80 This background is 40FF80 This background is 80FF80 This background is C0FF80 This background is F0FF80 This background is FFFF80
This background is 0000C0 This background is 4000C0 This background is 8000C0 This background is C000C0 This background is F000C0 This background is FF00C0
This background is 0040C0 This background is 4040C0 This background is 8040C0 This background is C040C0 This background is F040C0 This background is FF40C0
This background is 0080C0 This background is 4080C0 This background is 8080C0 This background is C080C0 This background is F080C0 This background is FF80C0
This background is 00C0C0 This background is 40C0C0 This background is 80C0C0 This background is C0C0C0 This background is F0C0C0 This background is FFC0C0
This background is 00F0C0 This background is 40F0C0 This background is 80F0C0 This background is C0F0C0 This background is F0F0C0 This background is FFF0C0
This background is 00FFC0 This background is 40FFC0 This background is 80FFC0 This background is C0FFC0 This background is F0FFC0 This background is FFFFC0
This background is 0000FF This background is 4000FF This background is 8000FF This background is C000FF This background is F000FF This background is FF00FF
This background is 0040FF This background is 4040FF This background is 8040FF This background is C040FF This background is F040FF This background is FF40FF
This background is 0080FF This background is 4080FF This background is 8080FF This background is C080FF This background is F080FF This background is FF80FF
This background is 00C0FF This background is 40C0FF This background is 80C0FF This background is C0C0FF This background is F0C0FF This background is FFC0FF
This background is 00F0FF This background is 40F0FF This background is 80F0FF This background is C0F0FF This background is F0F0FF This background is FFF0FF
This background is 00FFFF This background is 40FFFF This background is 80FFFF This background is C0FFFF This background is F0FFFF This background is FFFFFF

Background greyscale

This background is 000000 This background is 101010 This background is 202020 This background is 303030
This background is 404040 This background is 505050 This background is 606060 This background is 707070
This background is 808080 This background is 909090 This background is A0A0A0 This background is B0B0B0
This background is C0C0C0 This background is D0D0D0 This background is E0E0E0 This background is F0F0F0

Copyright © 1998, Ed Uthman. Free for noncommercial use.