Site
Home / Forum / General Discussion / Team Colour

Team Colour


Posted: 23 Jan 2021 11:26
cydalby
Posts: 335
Joined: 2020-06-16

Slightly odd request, but would it be possible to add a field to the football team page which would allow for a default colour to be provided? e.g. Borussia Dortmund would be Yellow, Arsenal would be Red.

I'm currently mapping something manually in my application, but I feel it would be good to add some of these details into the db for other users.

Ovokx, curswine, zag, MaximeGo31
Posted: 23 Jan 2021 13:02
curswine
Posts: 870
Joined: 2020-06-17

Its something I've wanted to see for a while too, two hex code fields would be ideal, one for primary colour and one for secondary.

Ovokx, MaximeGo31
Posted: 23 Jan 2021 13:16
GOAviator
Posts: 50
Joined: 2020-08-24

Probably some fifa or pro evolution kit makers have the correct hex code for each team

Posted: 23 Jan 2021 23:44

Ovokx
Posts: 1,700
Joined: 2020-06-17

Here we can get them:

https://encycolorpedia.com/teams



Posted: 24 Jan 2021 13:11

zag
Posts: 3,331
Joined: 2020-03-23

Great yes I think wikipedia has them as well. I will look into this as it seems a nice feature.

Definitely need to colours I think.

EDIT: for my own reference... Html5 has a colour picker!
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_color

Posted: 26 Jan 2021 20:02
cydalby
Posts: 335
Joined: 2020-06-16

More thinking out loud here, but would be nice to have some representation for striped kits.

I.e Inter, AC Milan , Celtic

Posted: 26 Jan 2021 20:30
curswine
Posts: 870
Joined: 2020-06-17

More thinking out loud here, but would be nice to have some representation for striped kits.

I.e Inter, AC Milan , Celtic


That's why I suggested two colours, then those values can be used to create the stripes/hoops etc.

Ovokx

Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 7 (Total: 7)