Team Colour |
Posted: 23 Jan 2021 11:26 | |||
Posts: 346 Joined: 2020 | 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 | |||
Posts: 935 Joined: 2020 | 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 | |||
Posts: 50 Joined: 2020 | 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,768 Joined: 2020 | Here we can get them: https://encycolorpedia.com/teams | ||
Posted: 24 Jan 2021 13:11 | |||
zag Posts: 3,511 Joined: 2020 | 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 | |||
Posts: 346 Joined: 2020 | 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 | |||
Posts: 935 Joined: 2020 | 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 |