set canvas border and background color