Hide Table of Contents

Setting LineColors

You can assign colors to drawing entities directly or through Layers.

The LineColor command lets you determine the color of new entities.

To assign the color for new drawing entities:

  1. Click Format > Line Color (or type LineColor).
  2. In the dialog box, select a color from a tab:
    • Standard Colors: Contains 255 common colors. You can also specify:
      • Match to Layer: New entities use the color assigned to the Layer on which you create them.
      • Match to Block: New entities appear in black or white (depending on the screen background color). When included in a Block definition, such entities use the Block color.
    • Custom Color: Contains a greater variety of colors where you can specify RGB or HSL values.
  3. Click OK.

  It is recommended to set color properties to Match to Layer (ByLayer).

To change the color of existing drawing entities:

  • Do one of the following:
    • Change the color property in the Properties Palette.
    • In the graphics area, select drawing entities. On the Properties toolbar, in LineColor Control, select a color.
    • Use the ModifyProperties command.


Command: LineColor

Menu: Format > Line Color

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Setting LineColors
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: 2021 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.