API Reference > OdCm Classes > OdCmColorBase Class > OdCmColorBase Methods > OdCmColorBase::red Method
OdCmColorBase::red Method
Syntax
C++
virtual OdUInt8 red() const = 0;

Returns the red color component of the database color object as a value in the range from 0 to 255.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.