The ANSI escape sequences you're looking for are the Select Graphic Rendition subset. All of these have the form