Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- <style>
- .txt {
- color: rgb(255, 255, 0);
- }
- // or
- .txt {
- color: #eaeaea;
- }
- // or
- .txt {
- color: #f01; // Equivalent to #ff0011
- }
- // or
- .txt {
- color: red;
- }
- // or
- .txt {
- color: rgb(100%, 100%, 0%); //when we use rgb of percentage , 0 needs percent sign. In other case, 0 does not required units
- }
- </style>
- <span class="txt">hello</span>
- ```
Add Comment
Please, Sign In to add comment