Electronic Transaction of dyes