beautypg.com

Color preview, Analyze code – Adobe Dreamweaver CC 2015 User Manual

Page 386

background image

379

Coding

Last updated 6/3/2015

Color preview

Hover your mouse over color values to preview colors in Code View. The following are the supported formats:

• 3 and 6 digits Hexadecimal color values: #ff0000;

• RGB: rgb(0, 0, 0);

• RGBA: rgba(0, 255, 228,0.5);

• HSL: hsl(120, 100%, 50%);

• HSLA: hsla(120, 60%, 70%, 0.3);

• Pre-defined color names, such as, Olive, Teal, red.

Press Control + Spacebar to see the color picker and change the color values quickly.

Color preview is available in all document types for the above color formats.

Analyze code

Dreamweaver supports linting, which is the process of analyzin code for potential errors. The Output panel lists the
errors and warnings detected through linting. For more information, see

Lint code

.

In addition, Dreamweaver also shows a quick error preview in the line number column of the erroneous line. The line
number is displayed in red to indicate that it contains errors, and when you hover over it, a brief description of the error
is displayed.