Skip to content

Commit

Permalink
feat: Update Color.ts adding more common colors (#3131)
Browse files Browse the repository at this point in the history
  • Loading branch information
egodjuks authored Jul 19, 2024
1 parent 385c061 commit 5e57494
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/engine/Color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,13 @@ export class Color {
return Color.fromHex('#FF007F');
}

/**
* Pink (#FFC0CB)
*/
public static get Pink(): Color {
return Color.fromHex('#FFC0CB');
}

/**
* Magenta (#FF00FF)
*/
Expand All @@ -353,6 +360,13 @@ export class Color {
return Color.fromHex('#7F00FF');
}

/**
* Purple (#800080)
*/
public static get Purple(): Color {
return Color.fromHex('#800080');
}

/**
* Blue (#0000FF)
*/
Expand Down Expand Up @@ -381,6 +395,13 @@ export class Color {
return Color.fromHex('#59978F');
}

/**
* Teal (#008080)
*/
public static get Teal(): Color {
return Color.fromHex('#008080');
}

/**
* Green (#00FF00)
*/
Expand Down Expand Up @@ -408,6 +429,13 @@ export class Color {
public static get ExcaliburBlue(): Color {
return Color.fromHex('#176BAA');
}

/**
* Brown (#964B00)
*/
public static get Brown(): Color {
return Color.fromHex('#964B00');
}
}

/**
Expand Down

0 comments on commit 5e57494

Please sign in to comment.