---
title: "eclipse设置保护色"
author: "AbstractForever"
date: "2012-03-16T09:22:15Z"
tags: []
categories: ["编程语言"]
slug: "eclipse"
draft: false
lastmod: "2012-03-16T09:22:14Z"
id: 1145412
url: "https://abstractforever.iteye.com/blog/1145412"
---

eclipse操作界面默认颜色为白色。对于我们长期使用电脑编程的人来说，白色很刺激我们的眼睛，所以我经常会改变workspace的背景色，使眼睛舒服一些。

设置方法如下：

1、打开window-&gt;Preference,弹出Preference面板

2、展开General标签，选中Editors选项，展开。

3、选中 Text Editors，右边出现Text Editors面板。  
    面板中有这样一个选项：Appearance color options； 其中是各种板块颜色的设置，其中有一项是background color，根据自己的喜好选择颜色。

4、 选中background color，勾掉System Default，点击'color'，弹出颜色选择面板，选择喜好的颜色，单击确定。

5、返回Text Editors，单击Apply即可。

   展开Test Editors，还有其他选项，比如对错误提示的颜色样式，如果你对此感兴趣也可尝试更改一下。

 

保护色

再点颜色(color) 

－其它颜色(others)，然后把Hue(色调)设为85，Sat(饱和度)设为90，Lum(亮度)设为205。然后单击添加到自定义颜色(Add to custom colors)