CSS Color网站是否考虑了链接?

时间:2013-04-06 16:10:08

标签: css hyperlink

我在确定网站的配色方案时遇到了问题,因为我选择了background-colorcolor,但链接在他们所访问的各种状态中的显示方式,悬停等等与我的主要颜色很好地协调。

我知道如何控制链接上的颜色:

a:link
{
    color: #66FF33;
}
a:visited
{
    color: #FF0000;
}
a:hover
{
    color: #FFFF66;
}
a:active
{
    color: #66FF33;
}

我的问题是在我的脑袋中处理6种颜色,2种主要颜色和4种链接,看看它们在我更换时是否会发生冲突等,我知道有很多网站可以帮助您选择颜色方案,是否有一个考虑到他们的预览/生成CSS函数中的访问,悬停等链接?

2 个答案:

答案 0 :(得分:1)

我认为你应该只是在网页浏览器中加载你想要乱搞的页面并使用Firebug来改变你的CSS并测试不同的颜色。
让自己成为一个示例HTML页面,其中包含指向已访问和未访问网站的链接。添加一个表格,其中包含可以改变颜色的单元格,并在浏览器中进行播放。

答案 1 :(得分:1)

Choose colors that do not overlap themselves, and avoided as much as you can the too many colors, unless if this is the concept.
Webpages are often designed in 2-3 basic, contrasted or complementary colours. 
For starters, it is good to counsel websites that offer combinations but occasionally it is good to try and develop your own style.
Do not forget to research the well-designed pages on the internet,
as aesthetics is something dynamic.
The main thing is the content and the character of the site that will determine
and the aesthetics and color.