color transparent function
add grid image and transparency