The display color of the change command ls-Linux general technology-Linux technology and application information. The following is a detailed description. Linux Command ls sets the display color of the directory to Blue by default, which is OK on the CRT screen, but almost invisible on the LCD screen, especially on the laptop. You can change the display color of ls in the following ways:
1. The command dircolors outputs the current preset color attributes, archived to the. dir_colors file in
: magenta;}/* specificity = 1, 1 */A: visited {color: purple;}/* specificity = 1, 1 */
These are used for hyperlink style settings. In most cases, you need to set several styles at the same time, for example, when hovering and clicking an unaccessed hyperlink, you can set different styles in the "hover mouse" and "Activate mouse" statuses. Because the above three rules can be applied to hyperlinks, and all the delimiters have the same specificity. The
to green rather than red. Both selectors are set with color, but the selector with a higher specificity will win.
How does a pseudo-class affect specificity? They have identical weighting values, and the following styles have the same specificity weighting values:
A: link {color: blue;}/* specificity = 1, 1 */
A: active {color: red;}/* specificity = 1, 1 */
A: hover {color: magenta;}/* specificity = 1, 1 */
A: visited {color: purple;}/* specificity =
A simple way to use set// Create an empty set var letters = set() // array literal creates Set and can only hold string var setcolors:set " red "," white "," Magenta "," yellow "] //inferred to hold a string typevar setcolors:set = ["Red","White","White","Magenta","Yellow"] //gets the number of elements, set unordered, and non-repeating elementsprint (Setcolors,setcolors
= hithere set to green rather than red. Both selectors are set with color, but the selector with a higher specificity will win.How does a pseudo-class affect specificity? They have identical weighting values, and the following styles have the same specificity weighting values:A: link {color: Blue;}/* specificity = 1, 1 */A: active {color: red;}/* specificity = 1, 1 */A: hover {color: magenta;}/* specificity = 1, 1 */A: visited {color: Purple;}/* spec
equal to 1. Qt defines four connection modes, which are represented by enumeration QT: penstyle.Qt: miterjoin, QT: beveljoin, QT: roundjoin.Qt: svgmiterjoin.
2.Paint BrushIn QT, the image is filled with qbrush, which includes fill color and style (fill mode). In QT, the color is represented by qcolor class, And qcolor supportsRGB, HSV, and CMYK color models. Qcolor also supports the combination of Alpha outlines andFill. The basic mode fill includes various vertices and line combinations. Qt su
saturation. You can specify the color (0 to 360 degrees) in degrees, and specify the saturation and brightness using a percentage between 0 and 100%. The HLS color with zero saturation is neutral gray.
HSB the HSB color mode is very similar to the HLS mode, the difference is that the former uses the B (brightness) value of the color instead of the brightness value.
CMYK the content of each printer and printer is based on the following three main colors: blue-green,
theory knowledge,The necessary and sufficient condition for an undirected graph to have an Euler's path is:
① The graph is connected;
② All nodes have an even degree or only two nodes with an odd degree.
Where① Graph connectivityIt is troublesome to use the program to judge. Let's take a look.
Let's talk about it first.② About the degreeMethod:
Blue
Magenta
Viotlet
Cyan
Red
range, we do not need to represent the color of each wavelength separately when processing the color. Because all colors in nature can be combined with different bandwidths of red, green, and blue (RGB). This is what people often say about the three-color principle. Therefore, these three colors are often called three primary colors or three primary colors. Sometimes we also call these three colors additive colors, because we get brighter colors when we add different wavelengths of light. When
or only two nodes with an odd degree.
Where① Graph connectivityIt is troublesome to use the program to judge. Let's take a look.
Let's talk about it first.② About the degreeMethod:
Blue
Magenta
Viotlet
Cyan
Red
The node degrees are measured by the number of occurrences of colors. In the example, if blue appears three times (whether outbound or inbound), the blue node degree
, in the printing should be more pure black.The electronic files used for printing must be four-color files (C, M, Y, k). Files in RGB color mode cannot be used for printing and output. Remember !!4. What is color separation? Is color separation so important? How to separate colors in Photoshop?A: color separation is a term used for printing. It refers to the four primary colors of the original article, namely, yellow, magenta, blue, and black; in com
enclose all non-printable characters with a dedicated bash escape sequence "[" and. The two sequences notify bash that the enclosed characters do not occupy any space on the row, so that the automatic line feed can continue to work normally. The final version is as follows (this can solve the problem of no line break with a color prompt ):PS1 = "[E [1; 32 m] U [E [m] [E [1; 33 m] @ [E [m] [E [1; 35 m] H [E [m]: W $"Color: 30 = Black 31 = Red 32 = green 33 = yellow 34 = blue 35 =
server response other than 304. http_not_found-404 HTTP did not find the server response. Http_bad_request-4XX HTTP Error request server response except 404. HTTP_SERVER_ERROR-5XX HTTP Server error response. Migrate_heading-the title in the Migration Management command. Migrate_label-The name of the migration.You can assign a specific foreground and background color from the following list:BlackredgreenyellowbluemagentacyanwhiteYou can modify each color with the following display options:Boldun
the font MSP. setspan (New foregroundcolorspan (color. magenta), 12, 15, spanned. span_exclusive_exclusive); // set the foreground color to magenta // set the font background color MSP. setspan (New backgroundcolorspan (color. cyan), 15, 18, spanned. span_exclusive_exclusive); // set the background color to cyan // set the font style to normal, bold, italic, and bold italic. setspan (New stylespan (Android
the default font size msp. setSpan (new RelativeSizeSpan (0.5f), 8, 10, Spanned. SPAN_EXCLUSIVE_EXCLUSIVE); // 0.5f indicates half of the default font size. setSpan (new RelativeSizeSpan (2.0f), 10, 12, Spanned. SPAN_EXCLUSIVE_EXCLUSIVE); // 2.0f indicates twice the default font size. // set the foreground color of the font msp. setSpan (new ForegroundColorSpan (Color. MAGENTA), 12, 15, Spanned. SPAN_EXCLUSIVE_EXCLUSIVE); // set the foreground color
: #, and the normal user is: $, but the command prompt is found to be in a color, you can set the PS1 variable to make the prompt color. In PS1, set the Character Sequence color format to \ [\ e [F; Bm \], where "F" is the font color, 30-30 ~ 37; "B" indicates the background color, numbered 40 ~ 47. Unset: \ [\ e [0m \] www.2cto.com code corresponding to each font color: reset = 0, black = 30, Red = 31, Green = 32, yellow = 33, blue = 34, Magenta = 35
"first alternate font ").
12
SelectNull mapping, set display control flag, set toggle meta flag (ECMA-48Says "Second Alternate font"). The toggle meta flag causes the highBit of a byte to be toggled before the mapping table translation isDone.
21
Set normal intensity (ECMA-48 says "doubly underlined ")
22
Set normal intensity
24
Underline off
25
Blink off
27
Reverse Video off
30
Set black foreground
31
The question is to give a bunch of wooden sticks, each of which has two endpoints painted with color, ask whether the pile of wooden sticks can be connected to each other to form a big wooden stick, the conditions of the connection is: if two sticks have the same color endpoint, they can be connected by the same color endpoint. For example:
Blue RedRed VioletCyan blueBlue MagentaMagenta cyanBlue magenta (magenta
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.