how to check css color on text code example Example 1: text color css .YourClass { color: #ff0000; } Example 2: css font color color:#ffffff;