- converted color attributes to buffer.