<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set( self, x: int, y: int, back_r: int, back_g: int, back_b: int, fore_r: int, fore_g: int, fore_b: int, char: str, ) -> None: """Set the background color, foreground color and character of one cell. Args: x (int):
 X position to change. y (int):
 Y position to change. back_r (int):
 Red background color, from 0 to 255. back_g (int):
 Green background color, from 0 to 255. back_b (int):
 Blue background color, from 0 to 255. fore_r (int):
 Red foreground color, from 0 to 255. fore_g (int):
 Green foreground color, from 0 to 255. fore_b (int):
 Blue foreground color, from 0 to 255. char (AnyStr):
 A single character str or bytes object. """

        i = self.width * y + x
        self.back_r[i] = back_r
        self.back_g[i] = back_g
        self.back_b[i] = back_b
        self.fore_r[i] = fore_r
        self.fore_g[i] = fore_g
        self.fore_b[i] = fore_b
        self.char[i] = ord(char)