Is Light Green (lgrn) and Dark Green (dgrn) actually the same color?

This is the place to discuss all issues relating to the manipulation of graphics/animations, sounds, music and cinematics within Diablo 2.

Moderators: Necrolis, Nefarius

Post Reply
User avatar
mmpx222
Junior Member
Paladin
Posts: 144
Joined: Sat Apr 26, 2014 9:19 am
Korea South

Is Light Green (lgrn) and Dark Green (dgrn) actually the same color?

Post by mmpx222 » Tue Feb 11, 2020 6:10 pm

I've been testing color codes in colors.txt for item color transformations.

The colors are, from left to right:

Image

Code: Select all

whit lgry dgry blac lblu
dblu cblu lred dred cred
lgrn dgrn cgrn lyel dyel
lgld dgld lpur dpur oran
bwht
It appears that Light Green (lgrn) and Dark Green (dgrn) are really the same color.

Are my eyes correct, or do you see a difference?
D2TXT / D2INI - Python scripts for editing TXT files, or converting between TXT ↔ INI files

User avatar
Necrolis
Site Admin
Throne
Posts: 9047
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: Is Light Green (lgrn) and Dark Green (dgrn) actually the same color?

Post by Necrolis » Tue Feb 11, 2020 11:23 pm

The gfx driver used to test makes a minor difference (the software modes use the dat palette info, the HW use the PL2 info). It also depends slightly on the input image, and if gamma has been applied.

Of course the easy way to check is really just to diff the two entries in the PL2 or the dat file.
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

Post Reply

Return to “Multimedia”