Fix a bug in .getDataColor() function

[#71679106]