发信人: STW (蓝快), 信区: SaveName
标 题: ◇ ASCⅡ上色基础教学
发信站: 广州蓝天站 (Mon Jan 26 20:11:13 1998), 转信
[转载]
<<<<<<<<<<<<<<<<<<<<<<<< $ 教 学 开 始 $ >>>>>>>>>>>>>>>>>>>>>>>>>>>>
首先,告诉你一件最重要的事,在往後的教学中所有的 * 号都是按 Esc 键
两次产生的,以其他方式,如:直接按 * 号,所产生的都无法执行。
对了, * 号产生的方式在联工是按 Esc 两次,但在其他地方可就不一定了
,可能是 Ctrl + U 产生的,总之,若不清楚,按 Ctrl + Z 线上辅助说明看看
就知道了,反正,现在的你,应该是只有在联工上玩吧!所以,就以联工的方式
教你,以後有到别站时,再教你吧!
先告诉你一些基本的色彩控制参数:(记住!m 一定是小写!!)
参 数 色彩 举 例 说 明
--------- ------ ----------------------------------------------
############ 以下为暗色系列的前景色彩 ############
*[0;30m 黑色 *[0;30;47m测试一下 ==> 测试一下
*[0;31m 红色 *[0;31m测试一下 ==> 测试一下
*[0;32m 绿色 *[0;32m测试一下 ==> 测试一下
*[0;33m 土棕色 *[0;33m测试一下 ==> 测试一下
*[0;34m 深蓝 *[0;34m测试一下 ==> 测试一下
*[0;35m 紫色 *[0;35m测试一下 ==> 测试一下
*[0;36m 浅蓝 *[0;36m测试一下 ==> 测试一下
*[0;37m 白色 *[0;37m测试一下 ==> 测试一下
############ 以下为亮色系列的前景色彩 ############
*[1;30m 深灰色 *[1;30m测试一下 ==> 测试一下
*[1;31m 亮红色 *[1;31m测试一下 ==> 测试一下
*[1;32m 亮绿色 *[1;32m测试一下 ==> 测试一下
*[1;33m 黄色 *[1;33m测试一下 ==> 测试一下
*[1;34m 亮深蓝 *[1;34m测试一下 ==> 测试一下
*[1;35m 亮紫色 *[1;35m测试一下 ==> 测试一下
*[1;36m 亮浅蓝 *[1;35m测试一下 ==> 测试一下
*[1;37m 亮白色 *[1;37m测试一下 ==> 测试一下
############## 以 下 为 背 景 色 彩 ##############
############# 所有文字颜色皆以黄色显示 ###########
*[1;33;40m 黑色 *[1;33;40m测试一下 ==> 测试一下
*[1;33;41m 红色 *[1;33;41m测试一下 ==> 测试一下
*[1;33;42m 绿色 *[1;33;42m测试一下 ==> 测试一下
*[1;33;43m 棕色 *[1;33;43m测试一下 ==> 测试一下
*[1;33;44m 深蓝 *[1;33;44m测试一下 ==> 测试一下
*[1;33;45m 紫色 *[1;33;45m测试一下 ==> 测试一下
*[1;33;46m 浅蓝 *[1;33;46m测试一下 ==> 测试一下
*[1;33;47m 白色 *[1;33;47m测试一下 ==> 测试一下
以上的所有举例皆是修饰过後的结果,若真照举例写,不但没达到原先预期
效果,反而可能会导致天下大乱。前景(即文字部份)和背景(即底色)的修饰方式
不一样,先说前景的修饰方式。
再举个例吧!将 "测试一下" 上色,之後的都不上色,若 *[1;33m测试一下
这种写法,其後面所有的文字都会变成黄色:
*[1;33m测试一下xxxx ==> 测试一下xxxx
会产生如上结果,若要将 xxxx 变回原色,则可:
*[1;33m测试一下*[mxxxx ==> 测试一下xxxx
加个 *[m 或 *[0m 就可以解决,但若想把 xxxx 变成其他颜色,则:
*[1;33m测试一下*[0;36mxxxx ==> 测试一下xxxx
总之,在想改变色彩的部份加上想改变的色彩参数;在想停止上色的地方加
上 *[m 或 *[0m 即可!
以上,为前景色的修饰方式,接著,说说背景色的修饰方式,说完就下课了□
唷!
背景色的写法很奇怪,以下举例说明一下:
*[1;33;43m测试一下*[m ==> 测试一下
*[1;33;43m 测试一下*[m ==> 测试一下
*[1;33;43m 测试一下 *[m ==> 测试一下
它会因为你参数的位置不同,而产生不同的结果,以此特性,将背景色多加活
用,你也能做出出色的签名档、计画档....等。
好啦!下课罗!开始做些试验吧!看看有哪里还不懂的,再告诉我!^_^
<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $ E N D $ >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
--
※ 来源:. 武汉白云黄鹤站 bbs.whnet.edu.cn·[FROM: zhihu.tan@hbrg.ml.or]
--
※ 修改:·unknown 於 Jul 16 15:28:27 修改本文·[FROM: 10.64.5.133]
※ 来源:·日月光华站 bbs.fudan.edu.cn·[FROM: 10.64.5.40]
Sender: STW Lankuai, message area: SaveName
Title: Basic Teaching of ASCⅡ Coloring
Sending station: Guangzhou Lantian Station Mon Jan 26 20:11:13 1998, forwarded
[reprint]
<<<<<<<<<<<<<<<<<<<<<<<<<<$ Teaching starts$ >>>>>>>>>>>>>>>>>>>>>> >>>>>>
First of all, let me tell you one of the most important things. In the future teaching, all * signs are to press the Esc key.
Those generated twice cannot be executed in other ways, such as directly pressing the * sign.
By the way, the * number is generated by pressing Esc twice in joint work, but it is not necessarily the case in other places.
It may be generated by Ctrl U. In short, if you are not sure, press Ctrl Z and take a look at the online auxiliary instructions.
You know. Anyway, now you should only play on LianGong, so just use LianGong.
Let me teach you. I will teach you again when I go to another station in the future.
Let me first tell you some basic color control parameters. Remember that m must be lowercase.
Parameter Color Example Description
############ The following are the foreground colors of the dark series ############
*[0;30m Black *[0;30;47m Test it > Test it
*[0;31m red *[0;31mTest it >Test it
*[0;32m Green *[0;32m Test it > Test it
*[0;33m Earthy brown *[0;33m Test it > Test it
*[0;34m Dark Blue *[0;34mTest it >Test it
*[0;35m Purple *[0;35m Test it > Test it
*[0;36m light blue *[0;36mTest it >Test it
*[0;37m white *[0;37mTest it >Test it
############ The following are the foreground colors of the bright color series ############
*[1;30m dark gray *[1;30m test it > test it
*[1;31m bright red *[1;31m test it > test it
*[1;32m bright green *[1;32m test it > test it
*[1;33m yellow *[1;33mTest it >Test it
*[1;34m bright dark blue *[1;34m test it > test it
*[1;35m bright purple *[1;35m test it > test it
*[1;36m bright light blue *[1;35m test it > test it
*[1;37m bright white *[1;37m test it > test it
############## The following is the background color ##############
############# All text colors are displayed in yellow ###########
*[1;33;40m Black *[1;33;40m Test it > Test it
*[1;33;41m Red *[1;33;41mTest it >Test it
*[1;33;42m Green *[1;33;42m Test it > Test it
*[1;33;43m brown *[1;33;43mTest it >Test it
*[1;33;44m Dark Blue *[1;33;44mTest it >Test it
*[1;33;45m Purple *[1;33;45m Test it > Test it
*[1;33;46m light blue *[1;33;46mTest it >Test it
*[1;33;47m white *[1;33;47mTest it >Test it
All the examples above are the result of modification. If the examples were actually written, not only would they not meet the original expectations,
The effect may lead to chaos. The foreground, which is the text part, and the background, which is the background color, are modified.
It’s different. Let’s talk about how to modify the foreground first.
Let's take another example. Color "Test" and nothing after that will be colored. If *[1;33m, test it.
In this way, all the text behind it will turn yellow
*[1;33mTest xxxx >Test xxxx
The above result will be produced. If you want to change xxxx back to its original color, you can
*[1;33mTest it*[mxxxx > Test it xxxx
Adding *[m or *[0m can solve the problem. But if you want to change xxxx to other colors, then
*[1;33mTest it*[0;36mxxxx > Test it xxxx
In short, add the color parameters you want to change to the part where you want to change the color, and add the color parameters where you want to stop coloring.
Just enter *[m or *[0m
The above is the modification method of the foreground color. Next, let’s talk about the modification method of the background color. After that, the get out of class is over.
Yo ~
The way the background color is written is very strange. Here is an example.
*[1;33;43mTest it*[m > Test it
*[1;33;43m Test it*[m > Test it
*[1;33;43m Test it *[m > Test it
It will produce different results depending on the position of your parameters. Use this feature to make the background color more vivid.
You can also create excellent signature files, plan files...etc.
Okay, get out of class is over, let’s start some experiments and see if there’s anything you still don’t understand and tell me ^ ^
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<$ E N D $ >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>
Source: Wuhan Baiyun Huanghe Station bbs.whnet.edu.cn [FROM: zhihu.tan@hbrg.ml.or]
Modification: unknown modified this article on Jul 16 15:28:27 [FROM: 10.64.5.133]
Source: Sun and Moon Guanghua Station bbs.fudan.edu.cn [FROM: 10.64.5.40]