Wikia

Community Central

Comments0

How to make your own Colors in CSS

PhilippL October 10, 2015 User blog:PhilippL

How to make your own colors in CSS and HTML. This is the code:


<html>
<head>
<style>
p[style="color: COLORNAME;"] {
    color: #HEXCODE;
}
</style>
</head>
<body>
<p style="color: COLORNAME;">Text</p>
</body>
</html>

Around Wikia's network

Random Wiki