Subject: Using index colors



There are 255 standard index colors and two additional color properties that are often referred to as colors (BYLAYER and BYBLOCK). You can use seven of the 255 standard index colors by name: red, yellow, green, cyan, blue, magenta, and white. (Numbers eight and nine are not named.) Each index color has a unique number from 1 to 255. The two additional color properties are BYLAYER and BYBLOCK. These color properties cause an entity to adopt the color either of the layer or of the block in which it is a member. BYLAYER is color number 256, and BYBLOCK is color num­ber 0. In all commands for which you would use a color, you can indicate BYLAYER and BYBLOCK as well as by numbers 256 and 0, respectively.

To select an index color

   1   Click Select Color in the desired dialog box, such as Layers, Drawing Settings, Properties, or Multiline Text.

The Color dialog box opens.

   2   Click the Index Color tab.

   3   Do one of the following:

   Click BYBLOCK.

   Click BYLAYER.

   Click the color of your choice, or type the color number in the Current box.

   4   Click OK.    

Using_index_colors
© Copyright 2022. BackToCAD Technologies LLC. All rights reserved. Kazmierczak® is a registered trademark of Kazmierczak Software GmbH. Print2CAD, CADdirect, CAD.direct, CAD Direct, CAD.bot, CAD Bot, are Trademarks of BackToCAD Technologies LLC. DWG is the name of Autodesk’s proprietary file format and technology used in AutoCAD® software and related products. Autodesk, the Autodesk logo, AutoCAD, DWG are registered trademarks or trademarks of Autodesk, Inc. All other brand names, product names, or trademarks belong to their respective holders. This website is independent of Autodesk, Inc., and is not authorized by, endorsed by, sponsored by, affiliated with, or otherwise approved by Autodesk, Inc. The material and software have been placed on this Internet site under the authority of the copyright owner for the sole purpose of viewing of the materials by users of this site. Users, press or journalists are not authorized to reproduce any of the materials in any form or by any means, electronic or mechanical, including data storage and retrieval systems, recording, printing or photocopying.