diff --git a/supervision/draw/color.py b/supervision/draw/color.py index 2fddb6840..fe55b25c7 100644 --- a/supervision/draw/color.py +++ b/supervision/draw/color.py @@ -2,6 +2,7 @@ from dataclasses import dataclass from typing import List, Tuple + from supervision.utils.internal import deprecated DEFAULT_COLOR_PALETTE = [ @@ -136,7 +137,7 @@ def GREEN(cls): @property def BLUE(cls): return cls.from_hex("#0000ff") - + @classmethod @deprecated( "`Color.white()` is deprecated and will be removed in " @@ -178,7 +179,6 @@ def blue(cls) -> Color: return Color.from_hex(color_hex="#0000ff") - @dataclass class ColorPalette: colors: List[Color]