Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolfost authored Aug 30, 2021
1 parent a03c37c commit d1b45cf
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ Independently of each other you can change the style and color of the text, the
## Usage

### Functions
>`setBack(short arg)`,
>`setFore(short arg)`;
>`char* setBack(short arg)`,
>`char* setFore(short arg)`;
Arguments:
> `short arg`: 1 of 256 color format. *range*: [0 - 255],
> `short arg`: 1 of 256 color format. *range*: [0 - 255];
Return:
`char*`: ansicode. See [showall.cpp](https://github.com/Dolfost/colorit-cpp/blob/main/readme/run/showall.cpp) for example.

>`setBack(short r, short g, short b)`,
>`setFore(short r, short g, short b)`;
>`char* setBack(short r, short g, short b)`,
>`char* setFore(short r, short g, short b)`;
Arguments:
> `short r, g, b`: RGB color format. *range of each varriable*: [0 - 255],
**Functions have no return values.**

> `short r, g, b`: RGB color format. *range of each varriable*: [0 - 255];
Return:
`char*`: ansicode. See [showall.cpp](https://github.com/Dolfost/colorit-cpp/blob/main/readme/run/showall.cpp) for example.

#### Terminal colors

Expand Down

0 comments on commit d1b45cf

Please sign in to comment.