Links not showing up properly

I have my links set up to show one color but they keep coming up as the default. I am using the following code. I don’t know why I can’t get this to show up properly.

a:link {
color: ec00c8;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #666666;
}
a:hover {
text-decoration: none;
color: ec00c8;
}
a:active {
text-decoration: none;
color: #ec00c8;
}

idk if this will help at all, but u should probably hav the #sign before all your color codes and keep text-dec. and color in the same order, in a:link they are flipped