Format: echo "/033[word background color; font color m string/033[control code"If you simply display the font color can be fixed control code bit 0m.Format: echo "/033[word background color; font Color m string/033[0m"Note:1, the word background
Color output via echo output, need to add-EECHO-E "\033[background color; font Color \033[0m"Background color40 Setting a black background41 Setting the red background42 Setting the green background43 Setting the brown background44 Setting the blue background45 Setting purple Background46 Setting the Cyan background47 Setting a white background49 Setting the defa
Tags: reference Linux protocol Shell Guide TPS log Technology share Altby Francis_hao Sep 30,2017Photo from reference "1"This article was authored by Liu Yinghao and licensed under the Creative Commons Attribution-NonCommercial use-Share 3.0 Chinese mainland license agreement in the same way. Welcome reprint, please specify the source:Reprinted from: http://www.cnblogs.com/yinghao1991/p/7616406.htmlReference"1" D. tes. Linux and Unix
We usually need to output a color font when we write a script, and now we can pass it. Color.sh to introduce this script directly, using the variables inside, so that we can reduce the amount of time we normally write scripts#颜色变量脚本展示[[emailprotected]opt]#catcolor.sh#!/bin/bash# Word color variable black= "\033[30m" #黑色RED = "\033[31m" #红色GREEN = "\033[32m" #绿色YELLOW = "\033[33m" #黄色BLUE = "\033[34m"
# ubuntu terminal under command line Color configuration # parses out the branch name from. Git/head:find_git_branch () {local dir=. Headuntil ["$dir"-ef/];Doif [-F "$dir/.git/head"];Thenhead=$ (usage: Append the above code to the ~/.BASHRC file, after the source ~/.BASHRC opens the new terminal can see the effectShell color and show git branching configuration
Query code$ (funtion () {Set even lines and odd lines$ ("tbody>tr:odd"). AddClass ("ou"); Set style for odd rows (add Style Class)$ ("Tbody>tr:even"). AddClass ("Dan"); Set style classes for even rows$ ("Tbody>tr:has (: Checked)"). AddClass ("Ed"); Determines whether the row is selected (returns a Boolean type) to add a style class//has (: checked)) to return a bool value True/falseSearch is selected has (: checked)$ (' tbody>tr '). Click (function () {var hased = $ (this). Hasclass (' Ed ');if
The color in css (valid color value) and css color
There are six methods to specify the color in css:
1. hexadecimal color
2. RGB color
3. RGBA color
4. HSL
Expansion color and shrinkage color
Have you ever heard of expansive and shrinking colors? Warm colors like red, orange, and yellow can make objects look bigger than they really are. and blue, blue-green and other cold colors, you can make objects look smaller than the actual.
Color on the size of the object, including hue and lightness two factors. Warm and
If you are using MFC with. NET programming, you will encounter this problem, the control written through MFC, by. NET invocation, the setting of the background color in the control requires a color conversion.
If you are using MFC with. NET programming, you will encounter this problem, the control written through MFC, by. NET invocation, the setting of the background c
Echarts legend color and map background color, echarts legend background color
I originally wanted to write the echarts initialization function, but recently I want to write a mixed map and column chart, that is, a bar chart is displayed on the map of each province. So I carefully used the map.
1. Some basic attributes of the map will not be introduced, or those
. Net c # generate a random color, which can control the brightness and generate a dark or bright color. The brightness of the color is determined based on the YUV mode,
Random colors are often used in daily development. Sometimes color brightness must be controlled. For example, a random
When talking about painting and images, we can't go without talking about color. All the patterns are made up of basic shapes and colors. colors constitute an important part of our image processing. Next we will understand the color principle, it will be the basis of our art.
(1) three-color Principle
In the physics class of middle school, we may have performed
In the previous article, we introduced "How to quickly calculate the color phase value". This article introduces the calculation process from the color phase value to the solid color. As mentioned earlier, the color and solid color have a one-to-one relationship. Let's take
ASP. NET uses repeater to change the color of the table, the mouse color, and the effect of clicking the color.
In this tutorial, ASP. NET is developed to bind a data list with the Repeater control. The effects of the Data list are as follows:
It's easy to achieve this. It's all entry-level. How can this problem be achieved?
The foreground. aspx content is as fo
Color settings under Linux terminal 2013-08-31 22:57:15Category: LINUX
in ANSI-compatible terminals such as xterm, RXVT, Konsole, and so on, you can display text in color rather than just black and white. This article demonstrates how to use bold and colored text. Trust every Linux user to face Bash. Although the first eye looks very dull, there are
First, CSS changes the input box cursor color of the native attribute Caret-colorCSS caret-color Properties can change the color of the input box's insertion cursor without changing the color of the contents of the input box.For example:Input { color: #333; caret-color
Effect Chart:
The jquery plugin is written as follows:
Copy Code code as follows:
;(function ($) {
$.fn.extend ({
"Alterbgcolor": function (Options) {
Set default values
Option=$.extend ({
Odd: "Odd",
Even: "Even",
Selected: "Selected"
},options); Note that this option is the same object as options in the above function (options)
Interlace Color
$ ("Tbody>tr:enev", this). addclass (Option.even);
$ ("tbody>tr:odd
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.