def _set_pixel_and_convert_color(self, x, y, color):
if color is None:<EOL><INDENT>return<EOL><DEDENT>color = self._convert_color_to_rrggbb(color)<EOL>self._set_pixel(x, y, color)<EOL>
set the pixel but convert the color before.