Get SGR (Set Graphics Rendition) foreground RGB color.

def sgr_fg_rgb(r, g, b):
        """Get SGR (Set Graphics Rendition) foreground RGB color."""
        assert r in range(256)
        assert g in range(256)
        assert b in range(256)
        return '38;2;{};{};{}'.format(r, g, b)