code: def _init_code(self, code: int) -> None:
          
          if -1 < code < 256:
              self.code = '{:02}'.format(code)
              self.hexval = term2hex(code)
              self.rgb = hex2rgb(self.hexval)
          else:
              raise ValueError(' '.join((
                  'Code must be in the range 0-255, inclusive.',
                  'Got: {} ({})'
              )).format(code, getattr(code, '__name__', type(code).__name__)))
docs: Initialize from an int terminal code.